Dirk

Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • in reply to: Layer Slider WP on every page #10211
    Dirk
    Customer

      Hey Eric,

      It didn’t work our for me, I’m good with coding. I found also something interesting:


      There is a special page name, the “homepage”, with you can filter LayerSlider WP to display the slider on your home page. It is also works if you set up a static custom page instead of the default post listing.

      The follwing examples are all valid, you can use either of these, you can even mix them on your own needs:

      <?php layerslider(1); ?> // Displays the first slider on every page
      <?php layerslider(1, ‘homepage’); ?> // Displays the first slider only on your home page
      <?php layerslider(1, ‘my-custom-post-title’); ?> // Displays the first slider on a custom page by name
      <?php layerslider(2, ‘1369’); ?> // Diplays the second slider on a custom page by ID
      <?php layerslider(3, ‘homepage,about-us,1234’); ?> // Displays the third slider on multiple pages

      It is important when you want to insert a slider to check its ID on the LayerSlider WP slider list page. When you removes some sliders, their IDs won’t be reindexed and the sequence may broke up. This is important to keep persistent your sliders preventing unwanted changes on the already inserted ones.

      Can you help me out?

      Kind regards

      in reply to: Layer Slider WP on every page #10145
      Dirk
      Customer

        Hey Eric, thanks for your reply.

        I would like to put the slider on the same place as on the homepage. Is this possible?

      Viewing 2 posts - 1 through 2 (of 2 total)