-
AuthorPosts
-
February 29, 2016 at 6:37 pm #591018
Hello,
I created a table on my page the normal way by selecting it as a content element and then editing it. But when I want to insert a table as a shortcode on a page where I can only use shortcodes it is very hard to edit a table after I pressed the ok button when inserting the table.
So I was thinking to design the table on a page where I can insert it the ordinary way, then selecting the total code of the table and pasting it on the page where I can only insert tables as a shortcode.Can you tell me how I can see the specific shortcode of a table for example on a page where I use the normal way of inserting content elements?
Thanks!
February 29, 2016 at 9:07 pm #591110Hey EricSmeets!
you can activate debug mode to see shortcodes: http://kriesi.at/documentation/enfold/enable-advanced-layout-builder-debug/
Regards,
AndyMarch 1, 2016 at 3:22 pm #591587I did that, but it is not working. I think I pasted it on the wrong php-file or something? I can see a code snippet on the top of the page now…
- This reply was modified 8 years, 8 months ago by EricSmeets.
March 2, 2016 at 7:31 am #591917Hi,
Please send us a temporary admin login so that we can have a closer look. You can post the details in the Private Content section of your reply.
Regards,
RikardMarch 2, 2016 at 4:22 pm #592154Ok, I will do that, thanks!
March 3, 2016 at 2:39 pm #592624Any idea yet what I did wrong?
March 6, 2016 at 7:37 am #593867Hi,
You are getting this error message when editing a page:
Priority in /var/www/vhosts/ericsmeets.nl/httpdocs/testserver/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/meta-box.class.php on line 102 Notice: Undefined index: priority in /var/www/vhosts/ericsmeets.nl/httpdocs/testserver/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/meta-box.class.php on line 102 Notice: Undefined index: priority in /var/www/vhosts/ericsmeets.nl/httpdocs/testserver/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/meta-box.class.php on line 102
Not sure what is causing that though, what is that customisation for?
Thanks,
RikardMarch 6, 2016 at 4:36 pm #593944Could you give it a try here pleae (this is a copy of the same website, but without this error message you mentioned):
March 6, 2016 at 9:30 pm #594002Hey!
are those 2 web sites on the same server and same php version?
Cheers!
BasilisMarch 6, 2016 at 9:48 pm #594006It is a different server, but the same php version.
March 8, 2016 at 12:25 am #594681Hello, I was hoping to get some support here!
March 9, 2016 at 6:30 am #595323Hi,
I tried adding the code but it resulted in an internal server error 500. Please post FTP login details so that we can remove the code from there.
Thanks,
RikardMarch 9, 2016 at 9:58 am #595415I can see you added the code to functions.php in the enfold-child theme folder. I removed it so the server is working again. Any idea what went wrong?
I tried adding the code on another test server, but to no avail. The code does not work there either.
March 10, 2016 at 6:28 am #596069Hi,
What happens if you remove your custom code and paste it in after that?
Best regards,
RikardMarch 14, 2016 at 10:21 am #597638I found out where the problem was. I also pasted the code in the functions-enfold.php file in the main template. So obviously pasting the same code on 2 locations caused the 500 error.
So now I only pasted it in the functions.php file in the child theme folder and not in the functions-enfold.php file in the main enfold theme.
Maybe good to update this information on your page: http://kriesi.at/documentation/enfold/enable-advanced-layout-builder-debug/
Thanks for the support!
- This reply was modified 8 years, 8 months ago by EricSmeets.
March 15, 2016 at 8:58 am #598256August 16, 2022 at 4:08 pm #1361812Hi, I posted this a couple of years ago and now I try to do the same with another website. I pasted the code on your website:
//set builder mode to debug add_action('avia_builder_mode', "builder_set_debug"); function builder_set_debug() { return "debug"; }
at the bottom of the functions.php file. (I have no child theme installed.) But I can’t see a debug field appearing when editing my page. Any idea?
August 16, 2022 at 4:11 pm #1361815Hi,
Thanks for the update. Please refer to this: https://kriesi.at/documentation/enfold/intro-to-advanced-layout-builder/#debug-mode
Best regards,
RikardAugust 16, 2022 at 4:12 pm #1361817Yes, I read that. But I am unable to locate this line in the functions.php file:
if(isset($avia_config['use_child_theme_functions_only'])) return;
- This reply was modified 2 years, 3 months ago by EricSmeets.
August 16, 2022 at 4:16 pm #1361819Hi,
It starts on line 41 in functions.php:
if( isset( $avia_config['use_child_theme_functions_only'] ) ) { return; }
Paste the code under that.
Best regards,
RikardAugust 16, 2022 at 4:17 pm #1361820Yes, I the search function did not find that line, stange. Thanks!
Kind regards, Eric Smeets.
August 16, 2022 at 6:46 pm #1361838 -
AuthorPosts
- You must be logged in to reply to this topic.