[Resolved] Want to add slider at home page

Home Forums Support Want to add slider at home page

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #136904
    Mueen Mehmood

    Dear,

    How to add a responsive slider in home page…

    Regards,

    Mueen Mehmood Waseer

    islamicartonline.com

    #136939
    bdbrown

    Hi Mueen. If you have the GP Hooks Add-on you could place the slider shortcode (this is an example for Meta Slider) in the “Before Header Content” hook:

    <?php
      if ( is_home() ) { ?>
        [metaslider id=39]
    <?php } ?>
    

    Then check the Execute PHP option for the hook.

    #136988
    Tom
    Lead Developer
    Lead Developer

    As well as the GP Hooks add-on, you could use the Page Header add-on 🙂

    #137113
    Mueen Mehmood

    Thanks bdbrown & Tom

    Regards,

    Mueen Mehmood

    #137116
    bdbrown

    You’re welcome. Glad to help 🙂

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