Thread Starter
fibnok
(@fibnok)
Never mind. Got it. Here is the code that works.
<?php
if (is_single(’30’))
include (TEMPLATEPATH . ‘/sidebar30.php’);
else get_sidebar();
?>
Thanks for your help, Moshu.
Thread Starter
fibnok
(@fibnok)
Hey Moshu,
Thanks for the feedback, but I can’t get it to work. Here is the code I’m using:
<?php
if (is_single(’30’))
<?php include (TEMPLATEPATH . ‘/sidebar30.php’); ?>
else get_sidebar();
?>
The sidebar still shows up completly blank. Just to make sure I hadn’t messed up the file “sidebar30.php” I modified the code to include “sidebar.php”, the standard sidebar. Can you see any errors in the code?
thanks,
Datamonkey
Thread Starter
fibnok
(@fibnok)
Hey Samgreen,
Thanks for the feedback. Can you send me the links to your sites so I can get a better idea of what WordPress can do? I’m really technology agnostic, so using PHP vs. HTML isn’t a big deal.
– Fibnok