-
AuthorPosts
-
June 4, 2015 at 11:21 am #454363
I would like to use the do_shortcode in a file template wordpress theme to generate the slider
direct function layerslider ($ id) gives fatal error function not foundthanks a lot
stefano
June 4, 2015 at 3:31 pm #454520Hey riga1975!
Can you please elaborate on the changes you would like to make? In which file are you using do_shortcode? Can you please post the code you are using?
Best regards,
YigitJune 4, 2015 at 3:48 pm #454541we put this code
<? php echo do_shortcode (‘[layerslider id = “3”]’); ?>thanks a lot
June 4, 2015 at 3:59 pm #454555Hey!
Which file are you editing and to which line are you adding this code?
Cheers!
YigitJune 4, 2015 at 4:09 pm #454569loop_page.php
June 4, 2015 at 7:19 pm #454708Hi riga1975!
Can you please show us, what code you use?
Cheers!
BasilisJune 4, 2015 at 7:20 pm #454709Hi!
Use the following code
<? php echo do_shortcode ('[layerslider id="3"]'); ?>Best regards,
BasilisJune 4, 2015 at 8:49 pm #454729done but as you can see even yourself
http://servizi.samadent.net/dentista-consigliato/ablazione-tartaro/
It does not workJune 5, 2015 at 9:07 am #455000Hey!
Can you please provide us your backend access as private reply?
Regards,
BasilisJune 5, 2015 at 10:14 am #455029This reply has been marked as private.June 6, 2015 at 6:36 am #455392Hi!
Try to use the theme’s default layer slider shortcode:
echo do_shortcode("[av_layerslider id='3']")Adjust the id if necessary.
Cheers!
IsmaelJune 15, 2015 at 8:34 am #459155Hello, sorry for the delay, I put your code but does not change anything, same result as the code that I put, I
Other ideas?
thanks a lotstefano
June 16, 2015 at 9:47 am #459912Hey!
This used to work before but now the default layer slider shortcodes isn’t working even on our installation. I think what you need to is to purchase a the layer slider plugin to enable the shortcode back. You need to disable the default layer slider plugin: http://kriesi.at/documentation/enfold/deactivate-the-layerslider-plugin/
Or add the layer slider using the advance layout builder on each page.
Cheers!
Ismael -
AuthorPosts
- You must be logged in to reply to this topic.
