• Resolved jthusgaard

    (@jthusgaard)


    Hi

    I’m using WP on this homepage: http://baby.gjesager.dk

    I needed two catagories to be hidden from the frontpage (2 and 13) so I use this hack:

    <?php
    if ((empty($_GET[‘cat’]))&&(!preg_match(‘/wp-admin/’, $_SERVER[‘REQUEST_URI’]))) $cat = ‘-2’;
    ?>

    And made catagorie 2 parent to catagorie 13. This solved my problem.

    But now I need to make catagorie 13 show on the side bar, along with the other catagories.

    Catagorie 2 is to be shown as it is today as a link under Gaestebog.

    Solutions without my-hacks.php are very welcome.

    j;-)

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Not on the frontpage but on the sidebar (my-hacks.php)’ is closed to new replies.