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 » Page & Category Menu Bars »

[SOLVED] Category pages - page2cat or templates?


 
Prev Previous Post   Next Post Next
  #1  
Old May 6, 2009, 01:25 PM
mcphoto
 
120 posts · Apr 2009
[SOLVED] Category pages - page2cat or templates?

am struggling with category pages and the category page plugin. (page2cat)

I need several actual pages that display some static content followed by either posts or thumbnails and excerpts. Whichever I go with (posts vs. excerpts) will be global, IE the whole site will use that for post pages.

These need to be actual pages, not category links, so they'll appear in drop down navigation.

In non-Atahualpa sites, I've been able to copy the index as a named template, add static content below "get header", and replace the first loop section with this:

Code:
		<?php if(have_posts()) : ?>
		<?php
   if (is_page()) {
      query_posts("cat=3");
   }
?>

		<?php while(have_posts()) : the_post(); ?>

In Atahualpa I get a parse error, for something like line 329, way down.

If I try the category page plugin, create a page, choose the category in the plugin control, I get nothing - just the static content from the WP "new page" editor - no category-based stuff (or anything else) below it.

If I use the [catlist=xx] code, it works, but all I get is a list, screengrab below.

So, the plugin doesn't seem to work the way the (very broken english) description suggests... there are posts here on the forum regarding hacks, but my understanding is that's written into 3.2 now.

Can anyone point me to the functionality I need?

Thanks a bunch!

Screengrab -4 posts have this category, they show up as a list:

 

Bookmarks



Similar Threads
Thread Thread Starter Forum Replies Last Post
Struggling with Page2cat vs Atahualpa 3.4 papabeargrowls Atahualpa 3 Wordpress theme 7 Jul 11, 2009 05:32 AM
Category Templates multiple sidebars ranch2 Sidebars & Widgets 3 May 25, 2009 06:40 PM
Static pages with category posts? mcphoto Atahualpa 3 Wordpress theme 3 Apr 25, 2009 09:48 AM
Images in my category and archive pages? middlemountain Atahualpa 3 Wordpress theme 1 Apr 11, 2009 10:28 PM
Posts showing up twice on category pages? michiganbasketball Atahualpa 3 Wordpress theme 1 Mar 12, 2009 04:56 PM


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


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