Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #114407
    bl
    Participant

    I can’t get the slider to appear under the logo.

    i have tried to copy this line in after the first <head> header.php
    <?php
    echo do_shortcode(‘[smartslider3 slider=2]’);
    ?>
    but the slider appear above the menu.

    Is there another place to put the code, so is shows up after the menu and logo

    website: https://testerdk.000webhostapp.com/

    Regards

    bl

    #114423
    Mahesh
    Keymaster

    @bl: Put the shortcode code after the following line in header.php file.
    do_action( 'create_after_header' );

    Regards,
    Mahesh

    #114495
    bl
    Participant

    I get this error

    Parse error: syntax error, unexpected ‘<‘, expecting end of file in /storage/h10/752/1408752/public_html/wp-content/themes/create/header.php on line 70

    when i put this line
    <?php
    echo do_shortcode ( ‘[smartslider3 slider=2]’ );
    ?>

    in here

    /**
    * create_after_header hook
    *
    * @hooked create_slider – 10
    */
    do_action( ‘create_after_header’ );
    <?php
    echo do_shortcode ( ‘[smartslider3 slider=2]’ );
    ?>

    in the header.php

    Regards

    bl

    #114497
    bl
    Participant

    I solved the problem.

    Regards

    bl

    #114587
    Mahesh
    Keymaster

    @bl: Glad to know you’ve solved the issue. Have a nice day!

    Regards,
    Mahesh

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Use different slider than the featured one’ is closed to new replies.