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 »

My take on page2cat

Old Jan 1, 2010, 08:59 AM
9 posts · Aug 2009
Pisa, Tuscany, Italy
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.

Old Apr 21, 2010, 04:45 AM
55 posts · Apr 2010
Thanks for this. Yes, please give me all details. I'm new to codex and all that. Cheers!



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 10:05 AM
Using Page2Cat with SmoothGallery plug-ins... gallery not working? harpek Plugins & Atahualpa 2 Aug 2, 2009 09:25 PM
Return to the page2cat/archive page issue lhanft Plugins & Atahualpa 3 Jul 23, 2009 09:59 AM
Struggling with Page2cat vs Atahualpa 3.4 papabeargrowls Atahualpa 3 Wordpress theme 7 Jul 11, 2009 06:32 AM
[SOLVED] Category pages - page2cat or templates? mcphoto Page & Category Menu Bars 10 May 20, 2009 09:16 AM

All times are GMT -6. The time now is 11:29 PM.

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