-
AuthorPosts
-
September 23, 2016 at 3:31 pm #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
September 23, 2016 at 3:31 pm #690834Hi 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,
YigitSeptember 23, 2016 at 3:46 pm #690847Thanks 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”;September 23, 2016 at 3:51 pm #690852Hi!
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,
YigitSeptember 23, 2016 at 8:29 pm #690995Thanks 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.”
September 23, 2016 at 8:30 pm #690997Ah spotted it! Many thanks for your help :)
Thanks Jenny
September 24, 2016 at 7:41 pm #691221Hi,
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 -
AuthorPosts
- The topic ‘Get shortcode for existing button’ is closed to new replies.
