goldmember
Member
Posted 2 years ago #
So I have two different post categories (Events and Members). Right now postings I make to either category show up on my designated Posts page (currently set as my Events page): http://www.goldcoastchamber.com/wordpress/?page_id=31
but how do i get JUST the posts that are in the category of "Events" to show up on that page???
And then get posts that are just in the category of "Members" to show up on my members page: http://www.goldcoastchamber.com/wordpress/?page_id=36???
thanks in advance!
llamaman
Member
Posted 2 years ago #
Hi, Goldmember!
You will need to create two page templates to make this happen. Then use query_posts('cat=1'); to get only the category you need.
Toby
goldmember
Member
Posted 2 years ago #
thanks. i installed #3 but its not really what i need. what the plugin did was put the posts headings of a certain category in either the main sidebar or right sidebar. but what i need to have happen is to have all the posts for a specific category appear in the content of a specific page.
any idea how i make that happen?
goldmember
Member
Posted 2 years ago #
to make for a real simple example, let's say i have a website about sports, with pages for Basketball, Football, Baseball and Hockey.
And all my posts are put in either a Basketball, Football, Baseball or Hockey category.
How do i get just the posts for the relevant category to show on just the relevant pages???
In theory you don't have to do anything because WordPress will automatically display an archive of a category. Switch to the WordPress Default theme, use no widgets, and click on a category link in the sidebar.
If you have to use Pages then review the other two options suggested above.
goldmember
Member
Posted 2 years ago #
umm, i've spent over a month customizing this theme. i'm not about to drop it. there has got to be a simpler way to make this happen.
MichaelH's suggestion was meant as a demo, not a recommendation to change your theme. Either see Category Templates « WordPress Codex and use category templates to display one category per, or use a plugin like Aral Balkan · Inline Posts Plugin for WordPress on your pages.
toddsdonald
Member
Posted 2 years ago #
"Goldmember said: ... And all my posts are put in either a Basketball, Football, Baseball or Hockey category. How do i get just the posts for the relevant category to show on just the relevant pages???"
Hilarious, if I think what you mean is that you want a website visitor to be able to click on the main navigation, (page links) and see the content of a category. Tons of people have the same issue and there are no solutions yet... Its just plain dumb.
toddsdonald
Member
Posted 2 years ago #
This is solved for me. The Blog in Blog plug in was the answer and worked perfectly!
goldmember
Member
Posted 2 years ago #
thanks. so i used Aral's plugin and that seems to be getting me where i need to go. slight problem though, i'm inserting multiple posts into this page (http://www.goldcoastchamber.com/wordpress/?page_id=36#business) but the second post (business services) is wrapping around the picture from the first post. i put in a clearboth in the css, but that doesnt seem to be moving it down below the picture. any advice? thanks!
HTML
<a href="http://www.goldcoastchamber.com/wordpress/?page_id=36#restaurants">Restaurants Link</a>
<a href="http://www.goldcoastchamber.com/wordpress/?page_id=36#business">Business Services Link</a>
<span class="clearboth">
253
</span>
264
CSS
.clearboth {clear:both;}
goldmember
Member
Posted 2 years ago #
Rather than a bump, a little searching of the forums will help you a great deal: WordPress › Support » Text wont wrap around image
I checked out this plugin in more detail. Doesn't look like it will do what I need.
I need to set and forget the blog. In other words, I want to be able to tell wordpress to take a specific feed, or category, and just put those feeds on a separate page on autopilot. Basically treat that page like its own little blog.
My home page will have some featured content on it that I manage periodically, but I'll have a lot of blogs in this style.
Is it possible to do that?
Thanks
I typed something else here that is irrelevant, and can't figure out how to delete posts; just ignore this one. :-)