Forum
Perch_Blog - post.php displaying more than one post
I have installed Perch_Blog onto a site I am currently working on and got the main section of the blog working fine. I can see my recent posts but when I click onto one, I am getting both recent posts that I have submitted with the full details of both posts. How do I get this to display only the post I have clicked on?
I am using the following code within my post.php...
<div class="wrapper cols2-nav-right">
<div class="primary-content">
<div class="post">
<?php perch_blog_post(perch_get('s')); ?>
<?php perch_blog_author_for_post(perch_get('s')); ?>
<div class="meta">
<div class="cats">
<?php perch_blog_post_categories(perch_get('s')); ?>
</div>
<div class="tags">
<?php perch_blog_post_tags(perch_get('s')); ?>
</div>
</div>
<?php perch_blog_post_comments(perch_get('s')); ?>
<?php perch_blog_post_comment_form(perch_get('s')); ?>
</div>
</div>
</div>
All of the master pages are unchanged from the original files
What does the URL look like for a sample post page?
Hi Drew,
It looks like the following... /blog/post.php?s=2014-07-29-test-blog
Ok. Nothing in that snippet you posted should produce a post listing. Is that all that's in your page?
This is all the code I am using which involves the blog...
I managed to solve this problem by un-installing the Perch_Blogs app and re-installing it.