We are transitioning over to a new forum platform. Please post new issues there. Existing threads will be dealt with here unless you choose to move them over. Visit the new forum
Documentation: Perch Blog: Page Functions: perch_blog_post
I believe the documentation for perch_blog_post leads users down the wrong path.
For example, when I added the following to my page:
<?php perch_blog_post(perch_get('2014-06-09-elston-avenue-mural-project')); ?>
Nothing rendered on the page. <?php PerchUtil::output_debug(); ?> reported this:
SELECT p.* FROM perch2_blog_posts p WHERE postStatus='Published' AND postDateTime<='2014-08-14 20:01:00' AND postSlug=''
But when I added only the blog slug as the argument as follows:
<?php perch_blog_post('2014-06-09-elston-avenue-mural-project'); ?>
The page rendered the correct blog with the post.html template.
Thanks for listening.
Want to reply to this thread?Login with Perch