Support » Plugin: Posts in Page » Showing only part of blog and include read more link

  • Resolved benno4403


    Hello everyone,

    I tried to figure this out myself but after hours and hours of trying I stopped :/

    I would like to display my latest 3/4 blogposts on a left column of my homepage.

    Currently when I installed the plugin, the plugin shows the whole blogpost.

    How can I limit the characters to a certain amount? (limit the displayed blog content) and how can I create a link so people can click ‘read more’

    I hope someone can help me out here!
    I would greatly appreciate it 🙂

    Thanks in advance.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Eric Amundson


    Volunteer Moderator

    Hi benno4403,

    You can customize the output template as you wish. See:

    How do I change the output template?
    Simply copy the posts_loop_template.php to your theme directory and make changes as necessary.

    You can even rename it – but make sure to indicate that in the shortcode using the template='template_name.php'.

    You can even use different templates for each shortcode if you like.

    Hey Eric,

    Thanks for the quick response.

    However, my PHP knowledge is limited.
    I did see the parameters on the FAQ but now I am wondering If I am thinking to difficult or if it is really difficult.

    I did not find the right parameters for the thing I would like to accomplish. could you or anyone else please guide me in the right direction and tell me what exactly I have to edit or change.

    Thanks in advance!

    Please can someone help me. how can I shorten the messages of the blogs displayed on the homepage.

    ANY help is greatly appreciated!

    Plugin Author Eric Amundson


    Volunteer Moderator

    Hey benno4403,

    If you want to post a link, we can take a look, but the posts_loop_template.php is setup to show excerpts, rather than full posts by default, which shows in this section of the posts_loop_template.php file:

    <!-- This is the output of the excerpt -->
    <div class="entry-summary">
    	<?php the_excerpt(); ?>

    I don’t believe that the WordPress settings under Settings/Reading in the Dashboard would override this, but you may wish to make sure it’s set to use Excerpts too.

    Like I posted before, you can also copy that file (posts_loop_template.php) to the main directory of your theme and customize it from there.

    If you’re new to Template Tags, I’d encourage you to check out this section of the WordPress Codex:

    You’ll want to pay special attention to the Posts section:

    I really hope that helps. 🙂


    Hi Benno, I’m not sure if this will work for you or not, but you might give it a try.

    1. If you want to limit the displayed blog content:
    a. Edit your post that you want to limit
    b. choose HTML editor
    c. put <!--more--> quick tag at the point you want to limit the content.

    2. Now if you want this plugin only shows a part of your post (not excerpt), here’s what you have to do:

    a. download the plugin
    b. Open the plugin folder on your computer and search for posts_loop_template.php
    c. Open the posts_loop_template.php using notepad
    d. Change the <?php the_excerpt(); ?> into:

    global $more; // Declare global $more (before the loop).
    $more = 0; // Set (inside the loop) to display content above the more tag.

    e. Upload posts_loop_template.php that you have edited inside theme folder that you use

    This method work for me and I hope it works for you.


    Thanks a lot! will try this 🙂

    I apologize for ‘re-opening’ this, but it is SOO close to what I am trying ot figure out.

    As opposed to a whole blog post or even an excerpt, what is the syntax I would add to the loop.php to just display a LINK to the post.

    I have TONS of posts that I want to include on a page for a particular category, but if it lists all exceprts the page will fill up. I just need the links to show.

    is that possible?


Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Showing only part of blog and include read more link’ is closed to new replies.