Wordpress Themes - WP Forum at BFA
Click Here To DONATE! Support the theme development, get more attention and additional benefits based on your donation level. Your forum name will be highlighted.

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

My take on page2cat


Build custom WP THEMES, without
coding.
Click here for THEMEFRAME

From the author of Atahualpa, the #1 most
downloaded (700,000+) theme @ wordpress.org
 
Prev Previous Post   Next Post Next
  #1  
Old Jan 1, 2010, 07:59 AM
tagesk
 
9 posts · Aug 2009
Pisa, Tuscany, Italy
Smile My take on page2cat

I wanted

* Some of my Categories to land on Pages.
* If we land on a Page, (use page2cat to) show the page. In this case, do not show the posts.
* If no Page has been associated with a Category, list the Category as normal.

For this to work I had page2cat return a value rather than printing "Archive for...." and used the return value to determine in index.php what to do (show the posts or not).

Works like a charm.

Happy to share the details if there is interest.

[TaSk]
 

Bookmarks

Tags
page2cat

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Page2cat [catlist=xx] works but only displays one page of post excerpts horsemansarts Plugins & Atahualpa 4 Jun 25, 2010 09:05 AM
Using Page2Cat with SmoothGallery plug-ins... gallery not working? harpek Plugins & Atahualpa 2 Aug 2, 2009 08:25 PM
Return to the page2cat/archive page issue lhanft Plugins & Atahualpa 3 Jul 23, 2009 08:59 AM
Struggling with Page2cat vs Atahualpa 3.4 papabeargrowls Atahualpa 3 Wordpress theme 7 Jul 11, 2009 05:32 AM
[SOLVED] Category pages - page2cat or templates? mcphoto Page & Category Menu Bars 10 May 20, 2009 08:16 AM


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


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