• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
Appfinite

Appfinite

Premium WordPress Themes for The Genesis Framework

  • Themes
  • Blog
  • Tutorials and Resources
  • Forums
  • Contact Us

Reply To: Layer Slider WP on every page

Home › Community Forums › Ally Theme Support › Layer Slider WP on every page › Reply To: Layer Slider WP on every page

January 27, 2014 at 9:19 am #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

Primary Sidebar

Search Forums

Affiliate Program

Looking to earn some money? Join our Affiliate program and earn 35% of every sale you refer. Top referrers earn 40-50%.

Join Now →

The Genesis Framework

All of our themes are designed for the Genesis Framework. You will need to purchase Genesis in order to use any of our themes.

Purchase Genesis

Hire a Web Developer

Need help setting up or customizing your website?

Contact Us →

Search Full Site

  • Buy Genesis!
  • Shopping Cart
  • Themes
  • My Account
  • Support Forums
  • Tutorials and Resources
  • Privacy Policy
  • Contact Us
  • Follow Us on Twitter

Copyright © 2023 · Appfinite · Built With The Genesis Framework