Forum

Thread tagged as: Question, Problem

Blog recent posts in shared region

Hi Drew,

I've set up a template for a shared region, in which I also want to display recent blog posts. I've added <?php perch_blog_recent_posts(5); ?> where I want them to appear. However this is commented out in the outputed HTML. What am I doing wrong?

Nick Loat

Nick Loat 0 points

  • 3 years ago
Drew McLellan

Drew McLellan 2591 points
Perch Support

It sounds like you might be better of using a layout in each of your pages, and then that layout can include both the shared region and your recent posts.

http://docs.grabaperch.com/docs/layouts/

Fantastic, can't believe I missed these. thanks Drew.