Tagged: ,

Viewing 16 posts - 1 through 16 (of 16 total)
  • Author
    Posts
  • #27210

    Hello,

    I just spent a great deal of time creating a nice tabbed layout with content and tried to add a ‘special heading’ to the tab content. Clicked on update and the entire tab reset to being a blank tab with just the original 2 tabs (tab1, tab2). Needless to say I was not happy so I went into the WP revisions at the bottom and can see the revision with the tabs I created, however, in avia the revision will not work. I get the message that the page has been restored to the requested time but the tabs are still missing! I even tried going to the default editor to restore that way, still the tabs are gone.

    So. Firstly can shortcodes be used in the tab content text areas without losing all other information.

    Secondly, does the revision option of WP actually work with avia, in the case of tabs content it doesn’t.

    Thanks

    Andrew

    #133177

    Hi,

    Unfortunately, the revision doesn’t work for the Avia Builder.

    First, switch the Advance Layout Editor (ALE) to debug mode. Edit functions.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";
    }

    add_theme_support('avia_template_builder_custom_css');

    This will let you see the shortcode below the ALE. You can combine shortcodes like this:

    [av_tab_container position='top_tab' boxed='border_tabs' initial='1' custom_class='']
    [av_tab title='Tab 1' icon_select='no' icon='1']
    Tab Content goes here
    [av_button label='Click me' link='' link_target='' color='theme-color' custom_bg='#444444' custom_font='#ffffff' size='small' position='center' icon_select='yes' icon='25']
    [/av_tab]
    [av_tab title='Tab 2' icon_select='no' icon='1']
    Tab Content goes here
    [av_button label='Click me' link='' link_target='' color='theme-color' custom_bg='#444444' custom_font='#ffffff' size='small' position='center' icon_select='yes' icon='25']
    [/av_tab]
    [/av_tab_container]

    The example above are buttons inside a tab element.

    Regards,

    Ismael

    #133178

    Hello and thanks for the reply.

    I think the lack of revision support is a serious problem, especially when problems occur like those I encountered yesterday. Is there any way around this?

    Also, when I enter ‘default’ editing mode I don’t see anything in the editing box, is this normal? I thought I would have seen the shortcodes and page content which was made using the avia page builder.

    Thanks

    Andrew

    #133179

    Hi,

    I’ll tag Kriesi about the revisions issue.

    Yes, you should see the shortcodes when switching to the default editor. Please upgrade to Enfold 1.8.4. If you switch the Advance Layout Editor to debug mode, you will be able to see the actual shortcode below the ALE.

    Regards,

    Ismael

    #133180

    Thanks Ismael,

    I can see the code now.

    How can I keep updated about the revisions issue? Will it be posted into this post?

    Thanks again,

    Andrew

    #133181

    Hi,

    Kriesi will give you an answer sooner or later. :)

    Cheers,

    Ismael

    #133182

    Please let me know as well, if there is going to be any change on this issue. It is much more helpful switsching between the two Editors.

    Can it stay as default function? Wouldn´t like to miss it after the next update.

    Thank you

    Asterios

    #133183

    Hi,

    @koelnermusik: As mentioned above, you can switch the layout editor to debug mode to see the actual shortcode below. This is like looking at the default editor while you are on the Advance Layout Editor.

    https://kriesi.at/support/topic/shortcodes-in-tabs-and-wp-restore-function#post-129391

    Regards,

    Ismael

    #133184

    Hey!

    I will try to eventually make revisions work with the template builder. its on my todo list, but I am not yet sure if it will be easily possible. will need to do some research on this ;)

    #133185

    Hi Ismael and thank you for the reply! Another thing I would like to ask is how I can find my questions in the support Forum, without searching for them in the entire forum. The reason I didnt reply earlier, is that I couldn´t find my last question!!! So, how can somebody see the “history” of his account including all the issues and the replies?

    Thank you for your help

    Asterios

    #133186

    P.S. Thanks to Kriesi too!

    #133187

    Just found it, don´t bother with this. It´s kind of luck to find it but I know now.

    Asterios

    #133188

    Can you please tell me too!!:-) I have been adding a topic to my favorites and then navigating from there.

    #133189

    You can see your user activity stream here: https://kriesi.at/support/profile/awilson3rd

    #133190

    Guess I will just have to bookmark the link then if there is no other option:-)

    Thanks Devin

    #133191

    Hey,

    Yup, you can bookmark your own profile page: https://kriesi.at/support/profile/awilson3rd

    Regards,

    Ismael

Viewing 16 posts - 1 through 16 (of 16 total)
  • The topic ‘Shortcodes in tabs and WP restore function’ is closed to new replies.