Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Plugins & Atahualpa »

Style & edit center column with sorted posts by category

Old Aug 14, 2009, 10:43 AM
2 posts · Jul 2009
What I would like to do:

In the center column:

Show the most recent post of category cat1 (show only one post)
Below this post:
Show the most recent 10 posts of category cat2

So the most recent post of category cat 2 will never be the first post.

Approach 1:
- Settings > Reading > Blog pages show at most 1
- Use the Category Excluder plugin for excluding categories other than cat1
- Create a New Widget Area and use the plugin Category Posts Widget for showing category cat 2 posts.
Problem: Category Excluder also excludes the posts shown by the Category Posts Widget

Approach 2:
Use the example code from "Style & Edit Center Column > The Loop"
<?php if ( $bfa_ata['postcount'] == 1 ) { ?>
The HTML, Javascript or PHP that you put here will be displayed after the first post.
<?php } ?>
and insert somewhere an "is_category()" and some PHP code...

Well, I am not a programmer!
Any idea?


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
Thread Thread Starter Forum Replies Last Post
Posts don't display in center column DUhlig Atahualpa 3 Wordpress theme 3 Aug 14, 2009 03:52 AM
Only one category in center column majofa Page & Category Menu Bars 3 Aug 13, 2009 02:24 PM
Style and edit CENTRE COLUMN not working dingo_shadow Atahualpa 3 Wordpress theme 0 Aug 12, 2009 08:40 PM
[SOLVED] Installed the Atahualpa but cant find a way to edit center column mush Atahualpa 3 Wordpress theme 3 Jul 28, 2009 01:32 PM
Center Column chiaxiong Atahualpa 3 Wordpress theme 1 Apr 8, 2009 06:28 PM

All times are GMT -6. The time now is 06:01 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.