• Resolved str8up

    (@str8up)


    Hi

    Can someone please help me?
    I am using latest wp and twenty thirteen theme.
    I am using the Huge IT slider, and want slider’1′ to only display on the home page.

    this is the code that comes with the slider –
    <?php echo do_shortcode(“[huge_it_slider id=’1′]”); ?>

    I pasted the obove code in the header.php, and works fine, but only want it to display on the home page.
    I understand I need to add some sort of if_home code, but am just starting out. Can you help?

    https://wordpress.org/plugins/slider-image/

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author huge_it

    (@huge_it)

    Dear customer please add shortcode in index.php file right after get_header();

    Click on Appearance select Editor option from drop down .
    then look at your right side and find front-page.php .click on front-page.php then search and place your code in <div id=”featured”> like below i have placed .and scroll down and update your file .simply you will get slider on your home page

    <!--Start Slider Wrapper-->
           <div class="slider_wrapper">
    
            <div id="featured">
    
              <!-- First Content -->
    
     <?php echo do_shortcode("[huge_it_slider id='1']"); ?>

    I am having a similar problem. I want this on my page in my theme. I don’t know where to insert the characters and on which part of the editor?

    Dear katurahdesigns it is important to know in which part of the theme you need to insert the plugin.
    Header, Footer or in the middle?
    Here is our e-mail info@huge-it.com
    please send a screenshot of your page and mark where you need to insert it, and we will send codes

    tsunnymoon922

    (@tsunnymoon922)

    Hi, I only want the slider on my home page. It is on every page now. How do I fix it?

    support-huge-it

    (@support-huge-it)

    Hi dear tsunnymoon922, our slider is never been added automatically in all pages. Maybe it is a feature of your theme. Any way please check those pages and delete the shortcode from there

    Hello,

    I’m a huge fan of Huge IT Slider but need some help in regards to this thread.

    I am running the Customizr theme (lite version) and I am trying to display the Huge IT Slider on my home page only. I have followed all the instructions in this thread thus far and nothing seems to work.

    One issue is, when I enter Appearance > Editor…there is no front-page.php

    I have tried several way of placing the code (described above) in the index.php but that doesn’t seem to work either.

    Please advise! Thank you in advance.
    http://www.prioribrazil.com

    Hi
    Dear msligar, I think if you have problem with inserting php shortcode and displaying within your theme, it will be better if you contact theme support, because we don’t know the contraction of the theme and can not give proper solution.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘slider on home page only’ is closed to new replies.