jezclifton
MemberForum Replies Created
-
Message sent, thankyou.
That would be great! Is there some way I can send you some login credentials privately?
Thanks. I’ve tried it both ways and am still unable to get the slider to show.
My permalink structure is set to ‘Post Name’, should I change this? I also tried the conditional tag with the ID (when editing the Intranet page, the URL shows post=1225) and that doesn’t work either!
Am I missing something?
Thanks for your reply. I understand where I went wrong!
My code now looks like this
<?
function graphene_display_slider(){
if (is_front_page() || is_single('Intranet')){
graphene_slider();
add_action('wp_footer', 'graphene_scrollable');}
}
function custom_enqueue_scripts(){
if ( ! is_admin() ) { // Front-end only
wp_enqueue_script( 'graphene-jquery-tools' ); // jQuery Tools, required for slider
}
}
add_action( 'wp_enqueue_scripts', 'custom_enqueue_scripts' );
?>I’m intending, at the moment, to only have the slider on my static front page, and one additional page – entitled ‘Intranet’. This page is published at http://www.beverleygrammar.co.uk/news/index.php/intranet but is still not showing the slider. Your help is much appreciated!
That’s great. Cheers for your help.
That’s fantastic, thank you for the quick response!
This may be being picky, but is there a way to reduce the gap this now leaves between the bottom of the slider and the top of the widgets to match that between the navigation bar and the top of the slider?
Thanks again.
Viewing 6 posts - 1 through 6 (of 6 total)