Viewing 9 replies - 1 through 9 (of 9 total)
  • Having the same issue.

    Plugin Author Eric Amundson

    (@sewmyheadon)

    Hi Guys,

    Simply copy the posts_loop_template.phpto 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'.

    Once you’ve copied that file, open it and look at line 11:

    <div class="entry-summary">
    	<?php the_excerpt(); ?>
    </div>

    Change to:

    <div class="entry-summary">
    	<?php the_content(); ?>
    </div>

    Thanks for this tip & the plugin itself, it’s been incredibly helpful.

    Is it possible to set ‘show excerpt’ vs ‘show content’ on a shortcode by shortcode basis? eg. On most of the pages on my site using this plugin, I need to show the full post. However, there are a couple of pages where I’d prefer to show excerpts.

    Any help would be greatly appreciated!

    Plugin Author Eric Amundson

    (@sewmyheadon)

    Howdy phoenix_feet,

    Right now, it’s not possible to indicate excerpt vs. content in the shortcode, but what you can do is have multiple post_loop_template.php files (named uniquely, of course) and specify which template you’d like to use in the shortcode. So, you effectively use different templates for each shortcode if you like.

    So, if you copy the post_loop_template.php file from the plugin in your theme and name it post_loop_excerpt.php, then when using the shortcode, you can specify that you want to use the template that only shows the_excerpt(). Then, you can have another file post_loop_content.php that you use when you want to show the_content().

    From the FAQ:

    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'.

    I hope that helps.

    Thanks Eric, that’s perfect! Speedy response, too.

    I was having the same issue and I did change excerpt to content and it did work. However, I still do not want all the content displayed. I only want to be able to see links or urls displayed in the excerpt mode.

    Any ideas on how to do this?

    Thanks

    Hello Eric,
    I found the above thread most helpful in enabling me to address an issue very much like that raised by scafuro.
    Under what conditions would I be able use the “more” button to override the excerpt?
    Will using the “more” button work with your default plugin or will it work only in combination with your PiP plugin as modified by a custom template that uses The-content() ?

    MT

    (@mtmtmcclanahancom)

    Eric, what file in the directory do you place the code “posts_loop_template.php “?

    Plugin Author Eric Amundson

    (@sewmyheadon)

    Copy that file to your theme’s root directory and customize as needed.

    I hope that helps.

    Eric

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Not showing full text’ is closed to new replies.