[Resolved] Not on the frontpage but on the sidebar (my-hacks.php)
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:
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.
- The topic ‘[Resolved] Not on the frontpage but on the sidebar (my-hacks.php)’ is closed to new replies.