• Hello,
    seems that the code is not executed. I can see the code [sp_imageslider limit="-1"] over my image default header, as you can see here

    My site

    My actual theme is Pinboard, but I haven’t more luck with twenty ten or other default themes.

    Here the code of my header.php

    <!DOCTYPE html>
    <html <?php language_attributes(); ?>>
    <head>
    <meta charset="<?php bloginfo('charset'); ?>" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title><?php wp_title(); ?></title>
    <link rel="profile" href="https://gmpg.org/xfn/11" />
    <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
    <?php wp_head(); ?>
    </head>
    
    <body <?php body_class() ?>>
    
    	<div id="wrapper">
    <header id="header">
    <div class="headerslider"> <?php echo do_shortcode('[sp_imageslider limit="-1"]'); ?></div>
    			<<?php pinboard_title_tag( 'site' ); ?> id="site-title">
    				<?php if ( ( '' != get_header_image() ) &&  ( false != get_header_image() ) ) : ?>
    					<a href="<?php echo home_url( '/' ); ?>" rel="home">
    						<img src="<?php header_image(); ?>" alt="<?php bloginfo( 'name' ); ?>" width="<?php echo ( pinboard_get_option( 'retina_header' ) ? absint( get_custom_header()->width / 2 ) : get_custom_header()->width ); ?>" height="<?php echo ( pinboard_get_option( 'retina_header' ) ? absint( get_custom_header()->height / 2 ) : get_custom_header()->height ); ?>" />
    					</a>
    				<?php endif; ?>
    				<a class="home" href="<?php echo home_url( '/' ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a>
    			</<?php pinboard_title_tag( 'site' ); ?>>
    			<?php if( ! is_active_sidebar( 1 ) ) : ?>
    				<<?php pinboard_title_tag( 'desc' ); ?> id="site-description"><?php bloginfo( 'description' ); ?></<?php pinboard_title_tag( 'desc' ); ?>>
    			<?php endif; ?>
    			<?php get_sidebar( 'header' ); ?>
    			<div class="clear"></div>
    			<nav id="access">
    				<a class="nav-show" href="#access">Show Navigation</a>
    				<a class="nav-hide" href="#nogo">Hide Navigation</a>
    				<?php wp_nav_menu( array( 'theme_location' => 'primary_nav' ) ); ?>
    				<div class="clear"></div>
    			</nav><!-- #access -->
    		</header><!-- #header -->

    Please let me know what can I try.
    Thank you

    https://www.ads-software.com/plugins/responsive-header-image-slider/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Anoop Ranawat

    (@anoopranawat)

    hello

    I am not able to see <div class="headerslider">...</div> when i am viewing source code..

    Please give me you admin access so that i can solve this.
    Thanks

    yckelvin

    (@yckelvin)

    there is class=”headerslider” but you have to replace sp_imageslider with sp_responsiveslider as there is no sp_imageslider

    Kelvin

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘php code non executed’ is closed to new replies.