Home Forums Support Slider

Viewing 15 posts - 1 through 15 (of 18 total)
  • Author
    Posts
  • #154883
    Vasy

    Where to include a slider?

    #154884
    Tom
    Lead Developer
    Lead Developer

    If you have GP Hooks you can place it anywhere.

    Most people place a full width slider in the “After Header” hook.

    #154893
    Vasy

    It is possible that for more please?

    #154917
    Vasy

    I do not understand how to do it.
    Any examples?

    #154988
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    First you’ll need a slider plugin of some sort – there’s tons of them out there if you do a quick search.

    All slider plugins will generate a shortcode when you create a slider.

    This shortcode is what you can place in GP Hooks to show the slider site-wide, or our Page Header to show it on a specific page.

    You can check out our videos on the Page Header add-on to see us using an example slider: https://generatepress.com/knowledgebase/generate-page-header/

    Let me know if you need more info πŸ™‚

    #155610
    Vasy

    Thank you!

    #155623
    Vasy

    How to make the text on the slider was in a separate background?

    #155692
    Tom
    Lead Developer
    Lead Developer

    I’m not too sure what you mean? You may need a layer slider if you want text on top of your images.

    #158195
    watc

    Inserting a slider ( I am using Smart Slider) “After Header” hook is perfect position, but only downside, it stays there forever. I want my slider only on homepage (static). For example, when someone clicks on “About Us” page, slider on top of About Us description is distracting.

    Is there anyway to make hooks visible on certain pages only?

    #158208
    Tom
    Lead Developer
    Lead Developer

    There is, but it’s easier to use our Page Header add-on if you have it.

    That way you can add your slider into the “Content” tab and it will display only on that page.

    Let me know if you’d like the code for the hooks instead πŸ™‚

    #167550
    Jasper

    I would like the code since I can’t get the slider in the content tab of the pageheader to show full width.

    #167593
    Tom
    Lead Developer
    Lead Developer

    You can use if conditions to apply them to specific pages: https://codex.wordpress.org/Conditional_Tags

    For example:

    <?php if ( is_page( 'my-page-slug' ) ) : ?>
    	Content in here will only show up on mywebsite.com/my-page-slug 
    <?php endif; ?>

    For multiples:

    <?php if ( is_page( array( 'slug-1','slug-2','slug-3' ) ) ) : ?>
    	This content will show on mywebsite.com/slug-1 and so on..
    <?php endif; ?>

    Then be sure to check the “Execute PHP” checkbox.

    #167647
    Jasper

    Thanks, i like the theme better everyday.
    No way i will use the 30-day moneyback option ! I did recommended it to some friends already.

    #167727
    Tom
    Lead Developer
    Lead Developer

    Thank you! Glad you’re enjoying it πŸ™‚

    #552540
    Steve

    Searched and searched for a solution but can’t find one i’m afraid. I am using smart slider on a page header and want to put a logo over the top of the slider but within the page header.

    Not sure how to do it ?

    Website danemeadcampsite.org.uk

Viewing 15 posts - 1 through 15 (of 18 total)
  • You must be logged in to reply to this topic.