Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

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

Style & edit center column with sorted posts by category


  #1  
Old Aug 14, 2009, 10:43 AM
calutateo
 
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"
Code:
<?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?

Bookmarks

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 11:17 PM.


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