My first post there so not quite sure how this (wpquestions) all works, so here goes:
I have the following website:
[[LINK href="http://deviantmind.co.uk"]]Deviant Mind[[/LINK]]
There is a music icon on the top right hand side of the page which only plays on the home page. I would like this to feature at the top of every page aling with the social media icons.
The guy I purchased the theme from on ThemeForest tells me it's to do with the .index.php but I need to know how I can set this for all pages.
My php skills are limited so please bear this in mind, if someome can tell me exactly what to do I would be greatful.
Romel Apuya answers:
the code must have a condition to just play the music on homepage.
can you post the code on your header.php?
or i send you a PM. cheers,
* The main template file.
* @package WordPress
$pp_homepage_slideshow_style = $_SESSION['pp_homepage_slideshow_style'];
$pp_homepage_slideshow_style = get_option('pp_homepage_slideshow_style');
$pp_homepage_slideshow_style = 'flow';
if($pp_homepage_slideshow_style == 'youtube_video')
$_GET['mode'] = 'f';
$pp_homepage_slideshow_cat = get_option('pp_homepage_slideshow_cat');
$homepage_items = -1;
$args = array(
'post_type' => 'attachment',
'numberposts' => $homepage_items,
'post_status' => null,
'post_parent' => $pp_homepage_slideshow_cat,
'order' => 'ASC',
'orderby' => 'menu_order',
$all_photo_arr = get_posts( $args );
include (TEMPLATEPATH . "/templates/template-slider-".$pp_homepage_slideshow_style.".php");
if($pp_homepage_slideshow_style != 'fullscreen')
Screenshot of admin screen attached.