COZY Campus Adult Webmaster Forums

 
 
 


Go Back   COZY Campus Adult Webmaster Forums > Cozy Discussion

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 04-05-2008, 06:28 PM
phuckbunny's Avatar
phuckbunny phuckbunny is offline
Registered User
 
Join Date: Dec 2006
Posts: 1,684
Send a message via ICQ to phuckbunny Send a message via Yahoo to phuckbunny
How do you compress WP posts?

On my problematic blog, I have full text of each post instead of using the "read more" feature or whatever you wish to call it, but I can't find that option which I would like to do. I'm still on 2.1 on this one and haven't upgraded; do I need to do that? I only see the "more" feature for RSS which I turned off anyway.
Reply With Quote
  #2  
Old 04-06-2008, 06:56 AM
twan's Avatar
twan twan is offline
Cozy Star
 
Join Date: Jul 2003
Posts: 414
Send a message via ICQ to twan
There should be a toolbar button in your blog post editor "split post with more tag". Click this one and you will have the more section.
__________________
Free adult blog host, 2 years in biz (free blog traffic!)
Blog Submitter, submit to 15 blog directories at once!
Reply With Quote
  #3  
Old 04-06-2008, 01:40 PM
phuckbunny's Avatar
phuckbunny phuckbunny is offline
Registered User
 
Join Date: Dec 2006
Posts: 1,684
Send a message via ICQ to phuckbunny Send a message via Yahoo to phuckbunny
Got it, thanks. I guess there's no way to automate it to cut off the post with 'more' after a certain # of lines?
Reply With Quote
  #4  
Old 04-06-2008, 02:05 PM
sunfunbill's Avatar
sunfunbill sunfunbill is offline
Bilinda the lil bitch!
 
Join Date: Mar 2003
Location: Lesbian fun house
Posts: 5,364
No, you have to always choose yourself. You also can just have it in code view and put <!--more--> anyplace you want to cut it off, that is the code for "more".
__________________
Lover Cash Gay, teen, tranny & more dating, high converting!
Visit my Orlando Vacation site, Orlando Inside!
My site Crossdresser Playground CD/TV/TS community
Reply With Quote
  #5  
Old 04-06-2008, 06:03 PM
phuckbunny's Avatar
phuckbunny phuckbunny is offline
Registered User
 
Join Date: Dec 2006
Posts: 1,684
Send a message via ICQ to phuckbunny Send a message via Yahoo to phuckbunny
Cool. I'll go an phuck around with it a bit now.
Reply With Quote
  #6  
Old 04-07-2008, 01:13 PM
Cozy Monica's Avatar
Cozy Monica Cozy Monica is offline
Campus Moderator
 
Join Date: Dec 2002
Location: Canada
Posts: 4,730
There IS a way to automate it though. If you want ALL of your posts to be only excerpts with a more tag, you can go in and manipulate the php code for the main page (usually called index.php) and the archives (usually archives.php).

I will include a chunk of my own code...

Ok, so in your theme editor from the WP admin, open up your main index template, which is index.php.

Look for this:
<?php while (have_posts()) : the_post(); ?>

Somewhere below that, you will find this:
<div class="entry">

Directly beneath that tag is where you find the code to generate the post, either in full length, or just an excerpt.

Here is the code from mine that happens to generate just an excerpt. You can try it in yours and see if it works (though it might not and you'll have to find out how to tweak it):

<?php the_excerpt() ?><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>">... click for more ...</a>

You want that to replace anything that's between this:
<div class="entry">
and it's closing tag:
</div>
Reply With Quote
  #7  
Old 04-07-2008, 01:14 PM
Cozy Monica's Avatar
Cozy Monica Cozy Monica is offline
Campus Moderator
 
Join Date: Dec 2002
Location: Canada
Posts: 4,730
Oh, and like I said, you're going to have to change your archives as well probably... unless they already just post an excerpt.
Reply With Quote
  #8  
Old 04-07-2008, 04:56 PM
phuckbunny's Avatar
phuckbunny phuckbunny is offline
Registered User
 
Join Date: Dec 2006
Posts: 1,684
Send a message via ICQ to phuckbunny Send a message via Yahoo to phuckbunny
Groovy! Thanks, Monica, I'll look into this to see if it works!
Reply With Quote
  #9  
Old 04-09-2008, 07:54 AM
jonnydoe's Avatar
jonnydoe jonnydoe is offline
Registered User
 
Join Date: Jul 2006
Posts: 764
Send a message via ICQ to jonnydoe
The evermore plug-in will do exactly what you want automatically.

http://www.thunderguy.com/semicolon/...dpress-plugin/
__________________
Sex Blogs
Free Porn
Host Gator link for $4.95 a month
Use code ABF with DreamHost and get $97 off plus a free domain registration for life!
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 06:41 PM.

Support our Cozy adult webmaster forum Sponsors:

Porn Reviews
Honest Porn Reviews
Stroke King Blue Design Studios
Blue Design Studios
  Adult Reviews
Adult Reviews

Pussy Cash FTVCash Etu-Cash Traffic Cash Gold GJ Servers
AdXpansion        

 

CozyFrog.com  |   CozyFlash.com  |   Friends & Links
© 2002-10 CozyCampus.com | Adult Forums for Webmasters! | 18+ ONLY!
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.