WordPress.org

Ready to get started?Download WordPress

Forums

Event orginiser (2 posts)

  1. garethv6
    Member
    Posted 6 months ago #

    Hi Everyone

    I have recently installed event orginser and was wondering if anyone knows how to remove the sidebars on the page. The page is not were it shows the calendar but the page that shows the event you clicked on.

    Hope this makes sense

    Thanks

    Gareth.

  2. wiresplus
    Member
    Posted 6 months ago #

    Conditional Tags. See the codex.

    Here's a related post

    You need something like

    <?php if(is_page()){

    <!-- do nothing -->

    } else {

    <!-- get sidebar code-->

    } ?>

    in your page.php file. find the bit where it says <?php get_sidebar(); ?> and make it say
    <?php if(is_page(---)){
    } else {
    <?php get_sidebar(); ?>
    } ?>
    <?php endif; ?>
    where --- is the page number of the relevant page

Reply

You must log in to post.

About this Topic

Tags

No tags yet.