• 0
Sign in to follow this  
Followers 0

How to combine static pages with blog posts

Question

Posted · Report post

I am building a portal site with STATION PRO. I have several unrelated content areas (music, sports, talk) that are independent of each other. Is there a way to to have a static page such as "music" that would host all blogs in the category "music," so that the net effect would be to have a "static" description at the top of the page and new blogs constantly being added. So far all I see are "pages" and "posts" but no way that a "page" can have "posts."

Share this post


Link to post
Share on other sites

7 answers to this question

  • 0

Posted · Report post

I think the way to do this would be to either use a plugin that outputs posts on a page, or create a child theme and copy over _posts.php. Then put if statements in _posts.php that displays introductory content depending on what category you're in. You can create the pages by making a custom menu in Appearance -> Menus and adding Categories to it.

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

That might be a little beyond my skill level at this time. I think the plugin route is more suited to my pay grade. Do you know of any apps that fit the bill? The other thing that occurred to me is whether you could put a left sidebar or short sidebar under the page, and then specify a single parent category for the posts????

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

I downloaded the plug-in tpg-get-posts which did insert posts into my page, but I'm trying to figure out how to specify a particular category. I inserted the shortcode [tpg_get_posts(category="home-improvement")] and it added ALL posts, not the category specific ones. I'm trying to figure out how to remedy that. I'm just not that comfortable yet at messing around with css and php files. Is that the only place to make the changes? WP Template Tag page - http://codex.wordpress.org/Template_Tags/get_posts My sandbox page in question - http://yoursportsfan.com/wp_test/hiusa/

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

I'd suggest asking the plugin author about that or using a different plugin with specific instructions on grabbing posts by category. There are several good ones out there.

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

which do you think are the two best? I'm surprised I didn't remember them from my first search. Thanks, SL

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

I can't offiically recommend one and there are so many. It's easy to find them using http://www.wordpress.org/extend/plugins and look for "category". One note on plugins... make sure they're up to date and are not broken. Also, check to see how many have downloaded and what version it is. The best plugins are frequently updated, have lots of users and have good feedback.

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

the author noted that I should be using the following: {tpg_get_posts category_name ="Home-Improvement"} (in brackets of course) and that worked perfectly!

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
Sign in to follow this  
Followers 0