Tagged: Shortcodes, tabs
-
AuthorPosts
-
August 4, 2013 at 10:36 pm #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
August 5, 2013 at 1:03 am #133177Hi,
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
August 5, 2013 at 8:23 am #133178Hello 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
August 5, 2013 at 2:09 pm #133179Hi,
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
August 5, 2013 at 4:09 pm #133180Thanks 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
August 6, 2013 at 3:25 am #133181August 7, 2013 at 2:07 pm #133182Please 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
August 8, 2013 at 4:28 am #133183Hi,
@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
August 10, 2013 at 8:04 pm #133184Hey!
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 ;)
August 19, 2013 at 1:55 pm #133185Hi 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
August 19, 2013 at 1:56 pm #133186P.S. Thanks to Kriesi too!
August 19, 2013 at 1:59 pm #133187Just found it, don´t bother with this. It´s kind of luck to find it but I know now.
Asterios
August 19, 2013 at 3:27 pm #133188Can you please tell me too!!:-) I have been adding a topic to my favorites and then navigating from there.
August 19, 2013 at 3:47 pm #133189You can see your user activity stream here: https://kriesi.at/support/profile/awilson3rd
August 19, 2013 at 3:51 pm #133190Guess I will just have to bookmark the link then if there is no other option:-)
Thanks Devin
August 21, 2013 at 4:21 am #133191Hey,
Yup, you can bookmark your own profile page: https://kriesi.at/support/profile/awilson3rd
Regards,
Ismael
-
AuthorPosts
- The topic ‘Shortcodes in tabs and WP restore function’ is closed to new replies.