Forums

How do I Change Sidebars for each page separately (4 posts)

  1. stopforeclosure
    Member
    Posted 1 year ago #

    I have a Video in the sidebar of my Home page that starts automatically when one open my blog – The problem is that I don’t want the video to play on each page of the site. How do I manage the Sidebars for each page?
    Thanks for your expertise in advance.

  2. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    One approach would be to edit your theme's sidebar.php & functions.php file and add a second widget-capable area to your sidebar. This could then be enclosed in <?php if( is_home || is_front_page() ) :?> [...] <?php endif;?> conditional so that it only loads on the home page.

  3. stopforeclosure
    Member
    Posted 1 year ago #

    I am a neophyte to HTML.
    Assume this is the Code between the < >
    <?this is the Code?>
    Were would you put it between? Which symbals are the Backticks?

    <?php if( is_home || is_front_page() ) :?> [...] <?php endif;?>

    Once again thanks in advance.

  4. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    This isn't HTML. It's PHP. If you're not comfortable using PHP, you might be better off looking for a plugin like:

    http://wordpress.org/extend/plugins/widget-logic/

Topic Closed

This topic has been closed to new replies.

About this Topic