Forums

Full blog to excerpt (7 posts)

  1. ScottAgness
    Member
    Posted 1 year ago #

    I am trying to figure out how to shorten my posts on the homepage to provide more of a preview feel and then allow visitors to read the full story with a link below.

    My website is http://vigilantsports.com. I am hoping to show the first few paragraphs of the stories rather than the full post on the home page.

    Much like this: http://blogs.heraldtimesonline.com/iusp/

    Any ideas how to make this happen with my template and layout?
    Thanks.

  2. Jarret Cade
    Member
    Posted 1 year ago #

    Go into the Editor located under the Appearance section and then click on Main Index Template located along the right hand side of the screen.

    Search for

    <div class="content">
    			<?php the_content(__('Read more...', 'inove')); ?>
    			<div class="fixed"></div>
    		</div>

    inside of the text and change it to

    <div class="content">
    			<?php the_excerpt(__('Read more...', 'inove')); ?>
    			<div class="fixed"></div>
    		</div>

    Make sure to update the file after making your changes.

  3. ScottAgness
    Member
    Posted 1 year ago #

    Thanks for the help. I'd like to get a little more than that, including maybe the image and a couple more paragraphs. A few sentences is not merely enough.

    Appreciate it.

  4. ScottAgness
    Member
    Posted 1 year ago #

    Another quality example: http://www.insidethehall.com/

  5. ScottAgness
    Member
    Posted 1 year ago #

    any further ideas? Still haven't found a solution?

  6. Jarret Cade
    Member
    Posted 1 year ago #

    You can pretty much have it setup however you want. WordPress is quite versatile.

    How exactly do you want it displayed?

  7. ScottAgness
    Member
    Posted 1 year ago #

    take a look at my site, vigilantsports.com

    for instance on the first post, I want it cut off after the third paragraph.

    2nd after 2nd paragraph

    3rd after 2nd parapgrah.
    4th after 4th pargraph.

    as you can see its all about the same size, but I like to include the picture, and roughly the first three paragraphs followed by another line that says something like "continue reading this post" or "read more"

Topic Closed

This topic has been closed to new replies.

About this Topic