If you have troubles since the update to WordPress 4.5 please read this post before opening a new thread.
August 5, 2010 at 11:53 pm #564
Thanks for all your help so far, I really appreciate it!
On my site, I want to create a page (for example, “CARS”) – how can I make the page so that several of the posts in the specific category or tag “CARS” show up on the page? It works perfectly fine to just click on the category and I will get the posts, but I want to be able to have some other content (such as images, etc.) on that page.
Thanks again!August 6, 2010 at 8:03 am #31983
Maybe this WP plugin is the solution for you: http://wordpress.org/extend/plugins/list-category-posts/
I installed it cause I want to display a list of recent posts within a page. I tested it with the Avisio theme and will implement it this weekend.August 6, 2010 at 11:11 pm #31984
Thank you fwhamm for your suggestion!
If there is no “official” workaround with the theme, then I think this may be the best way to go. I’ll definitely check it out.
Thanks again!August 6, 2010 at 11:17 pm #31985
Just looking at it again, what I am hoping to do is not just a list – it would actually display something like 3 summaries of the recent posts in a category and then the smaller posts. It would be the same thing as it is now on the newscast theme: click on a category like “CARS”, and you’ll get an archive with several summaries followed by the smaller posts. I just want to have a page like that but be able to add extra content (images, video, other text, etc.) before the posts appear.
Any suggestions there?August 7, 2010 at 11:53 am #31986
I would suggest a plugin for this, (Purchase code hidden if logged out) /”>Yet Another Related Posts Plugin springs to mind.
JamesAugust 7, 2010 at 2:34 pm #31987
I was looking at that myself, but it seems quite complicated. Meanwhile, I’m sure it isn’t :) , but I’m not too experienced with this.
All I really need is to have something like the Newscast Sidebar News Widget where I can specify which category(ies) to include, but just for the page format.
So if there is a specific code that I could use that I just enter on the page that I want (after my other page content), that would be perfect.
Can you please help me with that?
Thanks so much!August 9, 2010 at 12:24 pm #31988
The plugin is the easiest way to do this, but if you wanted to get down and dirty with PHP, this code would get you started:
$additional_loop = new WP_Query("ENTER-YOUR-QUERY-STRING");
while ($additional_loop->have_posts()) : $additional_loop->the_post();
You need to replace ENTER-YOUR-QUERY-STRING with the posts you want to display – see the Codex for more details.August 9, 2010 at 2:59 pm #31989
Thank you again, I definitely have a great deal to learn…
Here is a sample page on what I would like to do: http://bit.ly/cbddQ4
On this page, if I would like to have AFTER everything else the posts from the category “Spotlight”, what would I exactly need?
I don’t want to have a list of the posts, but actually a condensed version of the posts displayed (as on the frontpage) where once they click on it, they would get the full post. It would be even better if I could have the small article version in 2 columns.
Also, instead of having the page run on forever, is it possible for it to go on to the next page after a certain number of posts?
Thank you so much!
The topic ‘How to make pages that include posts of specific categories or tags?’ is closed to new replies.