Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #690833

    Hi I created a button on this page. I now want to put it in my ‘displayed everywhere’ sidebar widget area. I have a shortcode widget I can use, but don’t know how to get the shortcode for the button I created. Can you advise please?

    Many thanks

    Jenny

    #690834

    Hi JennyGr!

    You can enable debugging mode to see shortcodes you have created in pages using Advanced Layout Builder – http://kriesi.at/documentation/enfold/enable-advanced-layout-builder-debug/

    Or, You can switch to Default Editor and click on Magic Wand to see full list of shortcodes http://i.imgur.com/n4KXkdm.jpg
    then you can create any of them and copy/paste shortcode into any other content element or into text widget.

    Regards,
    Yigit

    #690847

    Thanks Yigit, I’ll use the debug mode route. I just read the link you sent. How do I add the following code to the child theme functions.php ?

    //set builder mode to debug
    add_action(‘avia_builder_mode’, “builder_set_debug”);
    function builder_set_debug()
    {
    return “debug”;

    #690852

    Hi!

    You can simply go to Appearance > Editor and add the code to functions.php file of your child theme

    //set builder mode to debug
    add_action('avia_builder_mode', "builder_set_debug");
    function builder_set_debug()
    {
    	return "debug";
    }

    :)
    Best regards,
    Yigit

    #690995

    Thanks Yigit I’ve done that but am not seeing the new filed as described below. Can you advise?

    “You should now see a new field under the Advanced Layout Builder with the live output of the elements as you add them using the drag and drop interface. Just be careful of editing things in that field as there are no checks or automatic corrections for missing punctuation or code.”

    #690997

    Ah spotted it! Many thanks for your help :)

    Thanks Jenny

    #691221

    Hi,

    Glad we could help!
    We really appreciate it if you rate our theme on themeforest .
    To know more about enfold features please check – http://kriesi.at/documentation/enfold/
    Thank you for using Enfold :)

    Best regards,
    Vinay

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Get shortcode for existing button’ is closed to new replies.