Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #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 found

    thanks a lot

    stefano

    #454520

    Hey 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,
    Yigit

    #454541

    we put this code
    <? php echo do_shortcode (‘[layerslider id = “3”]’); ?>

    thanks a lot

    #454555

    Hey!

    Which file are you editing and to which line are you adding this code?

    Cheers!
    Yigit

    #454569

    loop_page.php

    #454708

    Hi riga1975!

    Can you please show us, what code you use?

    Cheers!
    Basilis

    #454709

    Hi!

    Use the following code

    <? php echo do_shortcode ('[layerslider id="3"]'); ?>

    Best regards,
    Basilis

    #454729

    done but as you can see even yourself
    http://servizi.samadent.net/dentista-consigliato/ablazione-tartaro/
    It does not work

    #455000

    Hey!

    Can you please provide us your backend access as private reply?

    Regards,
    Basilis

    #455029
    This reply has been marked as private.
    #455392

    Hi!

    Try to use the theme’s default layer slider shortcode:

    echo do_shortcode("[av_layerslider id='3']")
    

    Adjust the id if necessary.

    Cheers!
    Ismael

    #459155

    Hello, 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 lot

    stefano

    #459912

    Hey!

    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

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