Forum Replies Created
-
AuthorPosts
-
Was there any update to this issue?
I have the same issue on two separate sites. On one, I got it working by checking “Enable Updated Tickets Experience” at wp-admin/admin.php?page=tec-tickets-settings but on the other the display options are not available, for some reason (same plugin versions).
Everything works smoothly with any other theme I try though. Is there a conflict you’re away of and a fix in the works?
Many thanks.
November 1, 2019 at 12:43 pm in reply to: 4.6 Update doesn't recognize old Custom CSS Class #1152988Looks ok on our sites Justin. Any console errors or anything?
I’m missing @Gunter though – has this ticket been closed without telling us?
Hi @Günter,
I’m checking in on the forward plan for the fix you mentioned at https://kriesi.at/support/topic/4-6-update-doesnt-recognize-old-custom-css-class/page/2/#post-1133756.
You said “This fix will be added to core in the next update – but might be removed in a future release.”
Can you confirm whether the fix that’s now been added to the latest updates will remain in the theme long-term? We have 40+ sites running Enfold and it would be great if backward compatibility is built in to every (viable) update.
Many thanks,
Joe- This reply was modified 5 years, 1 month ago by JoeLovell.
September 3, 2019 at 6:25 pm in reply to: 4.6 Update doesn't recognize old Custom CSS Class #1133505Thanks for the update Gunter.
This would be easy if we had only one site affected but we have many. Will there a subsequent update that will work out of the box for any sites that had custom classes and IDs or will we have to go through every site and change the options to make them work with the update?
September 3, 2019 at 9:50 am in reply to: 4.6 Update doesn't recognize old Custom CSS Class #1133291Justin: looks like there’s a new privacy-related value in the options table that on a few sites prevented Google Maps from loading correctly.
In our case it was safer and more efficient to roll most sites back to a pre-upgrade state rather than hunt down issues that (you’d hope) there’ll be a bug-fixing update for soon. But that depends if you’re going to wipe any orders or other activity you need in the process.
September 2, 2019 at 12:15 pm in reply to: 4.6 Update doesn't recognize old Custom CSS Class #1132942Same issue for us. None of the website upgraded to 4.6 reflect the custom class and IDs from before the upgrade. The names are in the ALB modal options and in the debug code but not in front-end html. As OP says, resaving the element and/or reupdating the page/post has no effect.
We’ve rolled the affected sites back to 4.5.7 until a solution is available.
I had the same issue and no time to use a freelancer. It doesn’t require customisation of the theme.
For anyone looking for this in future, you can change the ALB content by replacing on the _aviaLayoutBuilderCleanData meta_key in the postmeta table, instead or as well as post_content in the posts table.
So instead of (or as well as):
UPDATE wp_posts SET post_content = REPLACE (post_content, 'oldstring', 'newstring')
You can use:
UPDATE wp_postmeta SET meta_value = REPLACE (meta_value, 'oldstring', 'newstring') WHERE meta_key = '_aviaLayoutBuilderCleanData'
PS You’re directly editing values in the database so take a back up and take care.
- This reply was modified 5 years, 4 months ago by JoeLovell.
January 14, 2019 at 12:40 pm in reply to: Function returning whether layout builder is used on the page or not #1053641Hi Victoria,
I’m not sure that’s going to tell me. Won’t that just return the same template regardless of whether the layout builder is used on a given page/post?
Am I mistaken?
Thanks,
JoeYou can, thanks
Hi Mike,
This is excellent. We’re close to launch and today was going to be the day I tried to fix it myself so I’m very pleased your devs beat me to it.
Thank you.
Hi Mike,
Thanks, I thought this might be the case. Looks like the js doesn’t select the correct classes when the element is in aside instead of main.
Please could you let me know an eta on fixing the issue (or a temporary patched js file). This site is relatively close to launch and it’s a lot of work to create manual widget area elements for every page that needs this sidebar.
Many thanks,
JoeThis reply has been marked as private.Hi,
Thanks for trying to help @fraggs.
Unfortunately, it’s not what I’m looking for. The code is supposed to mark search results pages as noIndex. This is to prevent a non-self-referential canonical links and to prevent search results pages from appearing in search egnine indexes. This is for SEO purposes. Discouraging search engines would be pretty bad for SEO.
I’m not aware that you can noIndex search URLs or URLs with a specific query string (such as, in this case, those containing “?s=”) using Yoast, but please tell me if that’s not correct.
@john, is the avf_set_follow filter still supposed to work as intended?Many thanks,
JoeHi Victoria,
Thanks, yes I’d like some help. Is this a permanent ‘break’ or something you’ll be fixing so that I can implement a temporary fix on my sites or take a new approach to targeting burger menu items.
So Q 1: will you be bringing IDs back to burger menu items?
Q 2: Will you be taking notice of users adding custom CSS classes to menu items in Appearance > Menu so that their classes are added to the html output?
Q 3: Has anything else broken in the process? I had a filter on avia_append_burger_menu that no longer works since the last theme update (see below). Now it just results in a blank li item.Code:
//add search to burger menu add_filter( 'wp_nav_menu_items', 'avia_append_burger_menu', 9998, 2 ); add_filter( 'avf_fallback_menu_items', 'avia_append_burger_menu', 9998, 2 ); function avia_append_burger_menu ( $items, $args ) { if(!avia_is_burger_menu()) return $items; if ((is_object($args) && $args->theme_location == 'avia') || (is_string($args) && $args = "fallback_menu")) { $items .= '<li id="menu-item-burger" class="av-burger-menu-main menu-item-avia-special"> <a href="#"> <span class="av-hamburger av-hamburger--spin av-js-hamburger"> <span class="av-hamburger-box"> <span class="av-hamburger-inner"></span> <strong>'.__('Menu','avia_framework').'</strong> </span> </span> </a> </li>'; $items .= '<li class="menu-item menu-item-search">'; $items .= '<form action="https://www.domain.com/" id="searchform" method="get" class=""> <div style="opacity:1;display:block"> <input type="submit" value="" id="searchsubmit" class="button avia-font-entypo-fontello"> <input type="text" id="s" name="s" value="" placeholder="Search"> </div> </form>'; $items .= '</li>'; } return $items; }
Thanks Victoria!
Best wishes,
Joe- This reply was modified 7 years, 5 months ago by JoeLovell.
Custom classes added in Appearance > Menu are also not carried through to the burger menu.
May 12, 2017 at 12:11 pm in reply to: Notice: Undefined variable: http_response_header in function-set-avia-frontend #792237Hi Ismael,
That’s produced the foollowing errors in place of the orginal:
Warning: get_headers(): https:// wrapper is disabled in the server configuration by allow_url_fopen=0 in /home/webworksuk/public_html/wp-content/themes/enfold/framework/php/function-set-avia-frontend.php on line 640
Warning: get_headers(): This function may only be used against URLs in /home/webworksuk/public_html/wp-content/themes/enfold/framework/php/function-set-avia-frontend.php on line 640
Warning: get_headers(): https:// wrapper is disabled in the server configuration by allow_url_fopen=0 in /home/webworksuk/public_html/wp-content/themes/enfold/framework/php/function-set-avia-frontend.php on line 640
Warning: get_headers(): This function may only be used against URLs in /home/webworksuk/public_html/wp-content/themes/enfold/framework/php/function-set-avia-frontend.php on line 640
Warning: get_headers(): https:// wrapper is disabled in the server configuration by allow_url_fopen=0 in /home/webworksuk/public_html/wp-content/themes/enfold/framework/php/function-set-avia-frontend.php on line 640
Warning: get_headers(): This function may only be used against URLs in /home/webworksuk/public_html/wp-content/themes/enfold/framework/php/function-set-avia-frontend.php on line 640
May 12, 2017 at 12:01 pm in reply to: Notice: Undefined variable: http_response_header in function-set-avia-frontend #792235Hi Ismael,
Will this be included in the next update?
Thanks,
JoeMay 11, 2017 at 3:36 pm in reply to: Notice: Undefined variable: http_response_header in function-set-avia-frontend #791686Hi Ismael,
I have exactly the same error:
Notice: Undefined variable: http_response_header in /public_html/wp-content/themes/enfold/framework/php/function-set-avia-frontend.php on line 637
Notice: Undefined variable: http_response_header in /public_html/wp-content/themes/enfold/framework/php/function-set-avia-frontend.php on line 637
Notice: Undefined variable: http_response_header in /public_html/wp-content/themes/enfold/framework/php/function-set-avia-frontend.php on line 637On the homepage of one of our sites.
I have reinstalled the theme, tested with no plugins activated, optimised the database, tried the link to a video in the first color section as relative and absolute, www and non-www, https & http.
The site is https://www.webworksuk.com/
What have we missed?
Thanks,
JoeNot to worry, Yigit, I’ve just styled it with CSS.
I’ve requested the feature though, thanks for that suggestion.
Cheers,
JoeHi Yigit,
Thanks for your reply.
Let’s try another way then. If I add gmap shortcode to a text widget, the map is displayed outside of the #main div. Can I use shortcode and keep the map in a footer column?
Thanks,
JoeThat will force the images to display, and also the error messages.
Thanks, I look forward to an update.
Hi Vinay,
I rewrote the avia_append_burger_menu function, no jQuery required.
Thanks for your response though.
Hi Yigit,
Thanks for your reply. The images already have a completed alt field.
Joe
Thanks Ismael. Excellent support.
Hi Ismael,
The site is on our development server with the same domain name as a live site elsewhere so you’ll have to edit your hosts file to access it. Details in private content (please let me know if you can’t view the private content. I added some to a previous message that I’m not sure you received).
Cheers,
JoeHi Ismael,
That’s awesome, thanks. We’re almost completely there!
That works to inject the category in the ww-masonry-title for those items loaded on initial pageload. However, when we hit ‘LOAD MORE’, the extra items loaded get the ww-masonry-cat within the av-inner-masonry-content-pos, not the ww-masonry-title div.
I don’t think I understood you not being able to locate the masonry element in my site – how did you pick up my custom class names if you cant find the element it’s in?
Thanks as ever,
JoeHi Ismael,
Many thanks for your help. This returns the category in the “av-inner-masonry-content-pos” div. The problem is that this will only display on mouseover.
I need it in the “av-inner-masonry main_color” figure (along with the title) so that it displays regardless of mouseover. Details to view site in previous message.
Many thanks,
Joe -
AuthorPosts