Tagged: ,

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

    #226809

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

    #226840

    Hi,

    we changed the code to use avia in posts as you requested on former thread.
    Now the code looks 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’; }

    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

    #226841

    Sorry 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"; }

    #226848

    Hi!

    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,
    Devin

    #226861

    Hi,
    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.

    #226870

    Sorry wrong copy and paste

    add_action('avia_builder_mode', "builder_set_debug"); function builder_set_debug() { return "debug"; }

    #226874

    I can not paste the code that you sent me in eMail. Dont know why.

    #227209

    No, 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.

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