-
AuthorPosts
-
February 20, 2014 at 12:56 pm #226710
Hi
when do you think could the update be online to use AVIA editor and default editor simultaneously
? When switching back to default editor before updating it works fine. One problem: text in the avia textfields are not mentioned in the preview of the posts. Is there any possibility to manage that?
THX, OliFebruary 20, 2014 at 3:26 pm #226809Hey heufti65!
No, that is not possible yet. Please switch your theme to debug mode. Edit function.php, find this code:
if(isset($avia_config['use_child_theme_functions_only'])) return;
Below, add this code:
//set builder mode to debug add_action('avia_builder_mode', "builder_set_debug"); function builder_set_debug() { return "debug"; }
You will be able to see the actual shortcode below the builder. For further customization request, please visit Werkpress.
Best regards,
IsmaelFebruary 20, 2014 at 3:53 pm #226840Hi,
we changed the code to use avia in posts as you requested on former thread.
Now the code looks like thatif(isset($avia_config[‘use_child_theme_functions_only’])) return;
add_action(‘avia_builder_mode’, ‘builder_set_debug’); function builder_set_debug() { return ‘debug’; }Can we put your equest underneath?
//set builder mode to debug
add_action(‘avia_builder_mode’, “builder_set_debug”);
function builder_set_debug()
{
return “debug”;
}So it looks like
if(isset($avia_config[‘use_child_theme_functions_only’])) return;
add_action(‘avia_builder_mode’, ‘builder_set_debug’); function builder_set_debug() { return ‘debug’; }//set builder mode to debug
add_action(‘avia_builder_mode’, “builder_set_debug”);
function builder_set_debug()
{
return “debug”;
}Thx, Oliver
February 20, 2014 at 3:55 pm #226841Sorry like that
if(isset($avia_config[‘use_child_theme_functions_only’])) return;
add_action(‘avia_builder_mode’, ‘builder_set_debug’); function builder_set_debug() { return ‘debug’; }//set builder mode to debug
add_action('avia_builder_mode', "builder_set_debug"); function builder_set_debug() { return "debug"; }February 20, 2014 at 4:18 pm #226848Hi!
As long as the function is in your functions.php and fired before the rest of them it will turn on the debug field. You don’t need both of them however so if you already have the debug field active then you don’t need to add the same add_action and function.
Best regards,
DevinFebruary 20, 2014 at 4:37 pm #226861Hi,
thanks. The builder is okay.The problem:
text in the avia textfields are not mentioned in the preview of the posts.Ist this the code to manage that?
add_action('avia_builder_mode', "builder_set_debug"); function builder_set_debug() { return "debug"; }THX for your help.
February 20, 2014 at 4:42 pm #226870Sorry wrong copy and paste
add_action('avia_builder_mode', "builder_set_debug"); function builder_set_debug() { return "debug"; }
February 20, 2014 at 4:45 pm #226874I can not paste the code that you sent me in eMail. Dont know why.
February 21, 2014 at 3:13 am #227209No, that is to turn on the debug field on the avia layout builder.
If you’ve turned on the builder on Posts, which it sounds like may be the case, that is *not* supported. Posts have not been turned on specifically because WordPress doesn’t support that kind of content in excerpts and in general Post content isn’t conducive for heavy customization like that.
-
AuthorPosts
- You must be logged in to reply to this topic.