Jump to content
Michael_J

"Posts" inside a Page

Recommended Posts

Michael_J

I have a static page, but I'd like to show a summary of blog posts, full-width, below the main content of that page. I tried placing the "Recent Posts" widget in the "Full Width Sidebar" and the "Universal Sidebar" then dropping that into my default template, but that shoves it all the way at the bottom - forced down by the content of the sidebar; as shown in the screen shot below.

What I'd like is a separated 'box' below the content 'box', also with rounded corners. Possible?

2wh2hol.jpg

Share this post


Link to post
Share on other sites
Michael_J

Thanks! That works fine in the Widget area - but I don't see any instructions for shortcoding it into a static page or post?

Share this post


Link to post
Share on other sites
Rob

If you write the shortcode, per the instructions in the WP.org page, you will be able to add the posts to a page. See this example: http://www.epicurus.com/blog/about/our-people/kyle-stewart

This is the shortcode:

[srp srp_number_post_option='10' srp_widget_title_hide_option='yes' srp_thumbnail_option='yes' srp_thumbnail_wdg_width='100' srp_thumbnail_wdg_height='100' srp_wdg_title_length_mode='fulltitle' srp_filter_cat_option='XXX' srp_orderby_post_option='no' srp_widget_title_hide_option='yes' srp_orderby_post_option ='no' srp_order_post_option='DESC'][/CODE]

You have to replace XXX with the number value for the category you wish to display OR, if you want all posts, remove "srp_filter_cat_option='XXX' " entirely.

  • Like 1

Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×