Tagged: 

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #1270035

    Hi
    Since the last updated the sidebars on my site are broken due to shortcodes in the widgets. I have the jQuery migrate plugin installed but didn’t fix that problem. I tried some code in the functions.php but also did not help.

    add_filter('widget_text', 'do_shortcode');
    add_filter('the_content', 'do_shortcode');

    Also seeing an issue with youtube videos not opening in lightbox on another site. Is this also an issue with the 5.6 update?
    Please advise how to fix this problem! The site has been broken now for over a week.
    Thanks
    Nancy

    • This topic was modified 3 years, 11 months ago by Munford.
    #1270071

    Hey Munford,

    Thank you for the inquiry.

    It turned out to be an issue with the Custom HTML widget containing the button shortcode. To fix the issue, we removed the current widget and replace it with the Text widget.

    Best regards,
    Ismael

    #1270124

    Hi Ismael,

    I am not seeing the button in the sidebar now though, and if I look at the widget you made (arg-01) I don’t see the button shortcode there. WHen I add it, it breaks the sidebar. The code is:

    [av_button_big label='BOOK TRIP' description_pos='below' link='manually,#bookhere' link_target='' icon_select='no' icon='ue800' font='entypo-fontello' custom_font='#ffffff' color='custom' custom_bg='#2d5c88' custom_class='booking']
    [/av_button_big]

    I have many many different sidebars on this site, all using that button to scroll down to the booking form. How can I fix this, or can’t I use the button shortcode in the sidebar like this anymore? There isn’t a problem with the contact form shortcode that is in the same widget.
    thanks for taking a look
    Nancy

    • This reply was modified 3 years, 11 months ago by Munford.
    #1270422

    Hi,

    Issue seems to be related to button being fullwidth. I tried re-creating your button using Button element instead with following shortcode and that displays the button just fine

    
    [av_button label='BOOK TRIP' icon_select='no' icon='ue800' font='entypo-fontello' link='manually,#bookhere' link_target='' size='x-large' position='left' label_display='' title_attr='' color_options='color_options_advanced' color='theme-color' custom_bg='#444444' custom_font='#ffffff' btn_color_bg='custom' btn_custom_bg='#2d5c88' btn_color_bg_hover='theme-color-highlight' btn_custom_bg_hover='#444444' btn_color_font='theme-color' btn_custom_font='#ffffff' id='book-trip' custom_class='booking' av_uid='av-kjjzpz07' admin_preview_bg='']
    

    Could you please use this button instead of fullwidth one to make sure not to break the sidebar? :)

    Best regards,
    Yigit

    #1270429

    ah great! I will change it. Is there an easy way to change that for all the widgets globally? through a search/replace? I have alot of sidebars and the admin is very slow for me, especially in the widget admin.
    thanks very much
    Nancy

    • This reply was modified 3 years, 11 months ago by Munford.
    #1270443

    Hi,

    There is no simple way I am afraid but I replaced them for you (ARG_01 and others below it) since it is not that slow on my end.

    You could consider using a plugin such as this one – https://wordpress.org/plugins/widget-logic/ and display widgets using conditions :)

    Best regards,
    Yigit

    #1270447
    This reply has been marked as private.
Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Urgent: major layout errors after update to WP 5.6’ is closed to new replies.