WordPress.org

Ready to get started?Download WordPress

Forums

Category Pages (5 posts)

  1. oberazzi
    Member
    Posted 5 years ago #

    How do I make this theme, Layers, compatible with Category Pages (http://pixline.net/2008/04/category-page-25-howto-2/en/)?

  2. Samuel B
    moderator
    Posted 5 years ago #

    the instructions are fairly straightforward and your theme has an Archive.php

    follow the instructions for page creation

    Open archive.php and find this
    <h2>Archive for the ‘<?php single_cat_title(); ?>’ Category</h2>

    change to

    if( function_exists(page2cat_output)): page2cat_output($cat); else: ?>
    <h2 class="pagetitle">Archive for the "" Category</h2>
  3. oberazzi
    Member
    Posted 5 years ago #

    I did that but nothing happens: http://www.timobrienphotos.com/blog/large-print-ideas/

    <?php /* If this is a category archive */ if (is_category()) { ?>
     	        if( function_exists(page2cat_output)): page2cat_output($cat); else: ?> <h2 class="pagetitle">Archive for the "" Category</h2>
     	  <?php /* If this is a tag archive */ } elseif( is_tag() ) { ?>
  4. Samuel B
    moderator
    Posted 5 years ago #

    I'm seeing full posts now

    maybe refresh your browser - (ctrl + F5 on keyboard at same time)

  5. oberazzi
    Member
    Posted 5 years ago #

    Shouldn't I also see a block of text at the top with the contents from the linked page: http://www.timobrienphotos.com/large-print-ideas/

Topic Closed

This topic has been closed to new replies.

About this Topic