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