Hi benno4403,
You can customize the output template as you wish. See:
http://wordpress.org/extend/plugins/posts-in-page/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'
.
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!
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(); ?>
</div>
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:
https://codex.wordpress.org/Template_Tags
You’ll want to pay special attention to the Posts section:
https://codex.wordpress.org/Template_Tags#Post_tags
I really hope that helps. 🙂
Eric
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:
<?php
global $more; // Declare global $more (before the loop).
$more = 0; // Set (inside the loop) to display content above the more tag.
the_content("More...");
?>
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.
Reference: https://codex.wordpress.org/Function_Reference/the_content
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?
thanks