|
|
|
|
|
|
#1
|
||||
|
||||
|
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.
|
|
#2
|
||||
|
||||
|
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! |
|
#3
|
||||
|
||||
|
Got it, thanks. I guess there's no way to automate it to cut off the post with 'more' after a certain # of lines?
|
|
#4
|
||||
|
||||
|
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 |
|
#5
|
||||
|
||||
|
Cool. I'll go an phuck around with it a bit now.
|
|
#6
|
||||
|
||||
|
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> |
|
#7
|
||||
|
||||
|
Oh, and like I said, you're going to have to change your archives as well probably... unless they already just post an excerpt.
|
|
#8
|
||||
|
||||
|
Groovy! Thanks, Monica, I'll look into this to see if it works!
|
|
#9
|
||||
|
||||
|
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! |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|