• Resolved richardv120

    (@richardv120)


    Hi support,

    I am trying to use the slider on the main image on the twenty 17 theme.

    I have created the slider and have a slider ID but I do not know where I need to add this to show it as the header. When I go into the customise theme section all I can do there is upload an image but not add any code.

    I’m fairly new to wordpress so please can you make the answer as straightforward and easy to follow as possible. That would be much appreciated.

    Thanks

    Richard

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Hi richardv120,

    – Sorry for late reply
    – Yes you can do it please follow some instruction

    1. go to your site dashboard and click on Apperance -> Header
    2. Hide the image link
    3. and publish
    4. Go to your Theme folder wordpress/wp-content/themes/twentyseventeen
    5. find the file header.php and open this file in text editor
    6. go to line number 42 and find

    </header>

    tag press enter and paste the code here

    <?php
    if ( is_front_page() )
      echo do_shortcode('[URIS id=5]');
    ?>
    

    in this code please replace with your uris id

    and save the file check it again.

    Thanks.

    • This reply was modified 5 years, 2 months ago by wpfrankhelp.
    • This reply was modified 5 years, 2 months ago by wpfrankhelp.
Viewing 1 replies (of 1 total)
  • The topic ‘Using slider on main header image in Twenty 17 theme’ is closed to new replies.