Forums

Help please - "feature" to be on more then front page (2 posts)

  1. Mem
    Member
    Posted 1 year ago #

    I'm in the process of tweaking the theme magazineshack and I want the "feature" bit to be visible on all pages and not just the "home" page.

    This is where I have it at the moment
    http://adragonflydreams.com/themetester/

    This is the code the layout had in it's header

    <?php if(is_home() && !is_paged()): ?>
    	<?php // Featured posts go here.
        include (TEMPLATEPATH . "/featured.php"); ?>
        <?php endif;?>

    and this is what I did to add it on the posts page (will to archives etc if I can figure out the problem)

    <?php if(is_home() || is_single() && !is_paged()): ?>
    	<?php // Featured posts go here.
        include (TEMPLATEPATH . "/featured.php"); ?>
        <?php endif;?>

    Now the feature part is the black box thing with little picture boxes in it. Now say I stuck it on the "posts" page the post disapears and is replaced by the ones in the feature.
    http://adragonflydreams.com/themetester/?p=18

    How do I get it so I can use the "feature" so it stays up without losing the other categories and to stop it showing the function category on the page.

    Hope I made sense ugh.

  2. Mem
    Member
    Posted 1 year ago #

    eg. http://adragonflydreams.com/themetester/?p=18 is supposed to have a baked chocolate cheesecake recipe and not the 2 recipes from the feature category.

Topic Closed

This topic has been closed to new replies.

About this Topic