Viewing 12 replies - 1 through 12 (of 12 total)
  • Can you be more specific about “condensing”? Do you mean just showing the titles, showing an “excerpt”, making the text smaller – we’ll help but you have to be a little more specific.

    Also, the plugin you mentioned is from 2004 and may not work with version 1.5 – it might, but better check it.

    Doesn’t the excerpt tag doing the same thing?

    Thread Starter enrique1

    (@enrique1)

    Shorten the size of each post to a certain amount of characters or words. I only want to show a small snipet of the post. To see the entire post, you would have to click on the post title to see the entire post on a separate page.

    I could use the <!–more–> tag a€?? see my website at <https://www2.mactech.com/&gt; a€?? but I would think that there is an automated way to do this by using a function of some sort.

    The plugin “Condensed-Content” could do the work for me but it only works with the search page and the categories page, not the main page.

    Here’s an example of the “Condensed-Content” when doing a search: <https://www2.mactech.com/wordpress/index.php?s=cocktail&gt;

    Thanks guys!

    Well, in your template (a.k.a. index.php) you can replace the_content with the_excerpt – and voila! you have all your posts “condensed”.

    Thread Starter enrique1

    (@enrique1)

    Hmm, it would work but when I click on the title to see the post, it does not show the entire post.

    Try clicking on the first post on my website.
    https://www2.mactech.com/

    Also, the reason I liked the plugin “Condensed-Content” is because it strips out all html tags as well as shortening the content.

    Hmm, it would work but when I click on the title to see the post, it does not show the entire post.
    Then you may need to have the following condition in index.php (if you don’t have single.php)

    if( is_home() ) {
    the_excerpt();
    }
    else {
    the_content();
    }

    the_excerpt() also strips html tags, I believe

    You have another problem, too. When clicking on the title of the posts at the link you gave above it takes you to a totally un-styled page… as if it’s lacking the header.php (and it does ??

    Thread Starter enrique1

    (@enrique1)

    Thanks moshu and alphaoide!!! that works very well ??

    Instead of using the_excerpt(), I used the_excerpt_rss() which works very well!

    I know that I’m still missing a lot of formatting tags and classes to setup but that I can fix later.

    Now, is there any way to replace the “[…]” with a more tag? to see the entire post? And, how can I change the number of words where it cuts off the post?

    Thanks!!!

    Thread Starter enrique1

    (@enrique1)

    ok, I found where I can edit the number of words to output. In “functions-formatting.php”

    All I need is to figure out how to replace the “[…]” to link to the whole post.

    Thanks!!!

    Search is always a great friend of the WP users ??
    https://www.ads-software.com/support/topic.php?id=23474

    Thread Starter enrique1

    (@enrique1)

    Thanks guys :))

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘How to Condense the Posts on Main Page’ is closed to new replies.