Archived topic
Smart Slider short code
5 replies · Started by Charles on April 9, 2018
Hi Tom,
I'm trying out Smart Slider, which looks brilliant but I'm having some problems enabling it. The section of the page where I want the slider to be viewed is blank. Do I need to have Page Headers activated?
The instructions say I need to put this in my template echo do_shortcode('[smartslider3 slider=2]'); which seems to suggest that I have to create a custom page template every time I use this shortcode because that is the code for the specific slider that I created.
Charles
Hi there,
Page headers shouldn't be required to use Smart Slider but that's generally where people insert it.
Can you link me to the site in question?
You can edit the original topic and use the private URL field.
Let me know :)
At the moment it's in localhost, but I've done some more experimentation, and whether I put the shortcode in Page Headers or in a page the result is the same - there is a blank space created on the page where the slideshow should be - but no slideshow. Here is the full console error list:
ReferenceError: n2 is not defined[Learn More]
nextend-frontend.min.js:2:19836
ReferenceError: N2Require is not defined[Learn More]
smartslider-frontend.min.js:1:1
ReferenceError: N2Require is not defined[Learn More]
smartslider-simple-type-frontend.min.js:1:1
ReferenceError: N2Require is not defined[Learn More]
n2-ss-2.js:1:1
JQMIGRATE: Migrate is installed, version 1.4.1
jquery-migrate.min.js:2:542
TypeError: N2Classes.SmartSliderSimple is not a constructor[Learn More]
history:158:68
I know that Smart Slider works with GPPremium but this page mentions that the placement of the jQuery call in a custom theme could be the problem. Maybe that's a hint.
I have disabled all other plugins so it can't be a plugin conflict.
Charles
Should be the same issue as this thread:
https://generatepress.com/forums/topic/smart-slider-3-not-working-with-generatepress/
Let me know if this helps. Contacting their support should help :)
Thanks Leo, the jQuery updater plugin worked.
Charles
No problem!