WordPress.org

Support

Support » How-To and Troubleshooting » Event orginiser

Event orginiser

  • 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.

Viewing 1 replies (of 1 total)
  • wiresplus
    Member

    @wiresplus

    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

Viewing 1 replies (of 1 total)
  • The topic ‘Event orginiser’ is closed to new replies.