Forum Replies Created
-
AuthorPosts
-
you can close this. I rebuilt the top menu and it seems to have fixed the problem. I also removed the curved edges on a background which seems to have removed the cls error.
The “solution” to use the jquery migrate button to fix the alternative menu is really not a great option as it is causing errors on editing pages for me – “spinning wheel syndrome”. It goes away when the plugin is turned off… So its a bit of a pain to manage when editing and going without a working menu on the front end.
Any timeframe for a compatible version of Enfold?
i discovered this was a caching issue.
Its ok, I discovered it was an issue with caching.
Hello, sorry I was away from this project for a while. I have attached the details for log in.
Hi Rikard,
Yes they load when you scroll to the end and back up, but they load the big ones.
I disabled the optimisation plugin and cleared cache etc.. no joy.I am thinking maybe it has something to do with the custom post type?
Galleries are loading fine in restaurants and bars for example.I have this code in the functions to enable to ALB on custom posts and I think it is right. The custom post type for the listings affected is “shopping”.
function avf_alb_supported_post_types_mod( array $supported_post_types ) { $supported_post_types[] = 'bar'; $supported_post_types[] = 'event'; $supported_post_types[] = 'restaurant'; $supported_post_types[] = 'saunas'; $supported_post_types[] = 'clubs'; $supported_post_types[] = 'shopping'; $supported_post_types[] = 'galleries'; return $supported_post_types; } add_filter('avf_alb_supported_post_types', 'avf_alb_supported_post_types_mod', 10, 1); function avf_metabox_layout_post_types_mod( array $supported_post_types ) { $supported_post_types[] = 'bar'; $supported_post_types[] = 'event'; $supported_post_types[] = 'restaurant'; $supported_post_types[] = 'saunas'; $supported_post_types[] = 'clubs'; $supported_post_types[] = 'shopping'; $supported_post_types[] = 'galleries'; return $supported_post_types; } add_filter('avf_metabox_layout_post_types', 'avf_metabox_layout_post_types_mod', 10, 1);
Basically the large images load as large greyed out images below the gallery. instead of in a carousel below the gallery as per normal.
Hello,
I have run into the issue again, so not sure why. I updated to the latest version and am still having issues with the gallery not loading.It loads all the large images and not the thumbnails.
Keith
Yes, am using the latest version of enfold and yoast. Not sure what plugin would be interfering with the back end.
It is in the premium version of yoast. Its quite handy but I guess a lot of people dont use the paid for version.
On their page it says:
Clicking on the eye icon will highlight the sections where the analysis identified a problem:
Great thank you that worked perfect.
I tried removing that code, still get the error.. its frustrating.
when I put this code in, yes I get the error, when I take it out it works.
I removed the custom code that is in the functions file and it worked, however I don’t know what is causing the error in the code, I think it might be a missing bracket. Is there any way to check?
<?php /* * Add your own functions here. You can also copy some of the theme functions into this file. * WordPress will use those functions instead of the original functions then. */ //set builder mode to debug add_action('avia_builder_mode', "builder_set_debug"); function builder_set_debug() { return "debug"; } /* Change Blog Archive Style */ function change_blog_archive_style() { global $avia_config; if(!is_single()){ $avia_config['blog_content'] = "excerpt_read_more"; } } add_action('get_header', 'change_blog_archive_style'); add_filter('avf_builder_boxes', 'add_builder_to_posttype'); function avf_alb_supported_post_types_mod( array $supported_post_types ) { $supported_post_types[] = 'bar'; $supported_post_types[] = 'event'; $supported_post_types[] = 'restaurant'; $supported_post_types[] = 'saunas'; $supported_post_types[] = 'clubs'; $supported_post_types[] = 'shopping'; $supported_post_types[] = 'galleries'; return $supported_post_types; } add_filter('avf_alb_supported_post_types', 'avf_alb_supported_post_types_mod', 10, 1); add_action('wp_footer', 'add_custom_css'); function add_custom_css() { ?> <script> jQuery(document).ready(function($) { }); </script> <style> @media only screen and (max-width: 767px) { .single-post #footer div .av_one_third { margin: 0; margin-bottom: 20px; width: 100%; } } </style> <?php }
It happens when you edit any page. I have included a link in Private.
KI switched from “Classic” to “Block”, got an error with both .. this is the error with the block:
Error Details
=============
An error of type E_ERROR was caused in line 1146 of the file /home/gaysitge/public_html/wp-content/themes/enfold/config-gutenberg/class-avia-gutenberg.php. Error message: Uncaught TypeError: Argument 1 passed to Avia_Gutenberg::handler_avf_builder_boxes() must be of the type array, null given, called in /home/gaysitge/public_html/wp-includes/class-wp-hook.php on line 288 and defined in /home/gaysitge/public_html/wp-content/themes/enfold/config-gutenberg/class-avia-gutenberg.php:1146
Stack trace:
#0 /home/gaysitge/public_html/wp-includes/class-wp-hook.php(288): Avia_Gutenberg->handler_avf_builder_boxes(NULL)
#1 /home/gaysitge/public_html/wp-includes/plugin.php(206): WP_Hook->apply_filters(NULL, Array)
#2 /home/gaysitge/public_html/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/config/meta.php(31): apply_filters(‘avf_builder_box…’, Array)
#3 /home/gaysitge/public_html/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/template-builder.class.php(1945): include(‘/home/gaysitge/…’)
#4 /home/gaysitge/public_html/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/template-builder.class.php(490): AviaBuilder->appI have attached the log in details.
It seems to be an issue with the WPMP upgrade from versions.. they are looking at it, but thank you for your help.
Ok, thanks..that resolved the problem.
FYI .. for several years I had been using this code which was shown in one of the help videos, but I guess its no longer functioning… just in case someone else has the same issue.
function add_builder_to_posttype($metabox) { foreach($metabox as &$meta) { if($meta['id'] == 'avia_builder' || $meta['id'] == 'layout') { $meta['page'][] = 'bars'; /*instead add the name of the custom post type here*/ } { $meta['page'][] = 'event'; /*instead add the name of the custom post type here*/ } { $meta['page'][] = 'restaurants'; /*instead add the name of the custom post type here*/ } { $meta['page'][] = 'saunas'; /*instead add the name of the custom post type here*/ } } return $metabox; }
Sorry. I was not clear. I want to turn off all the animation on the avia-gallery aswelll.. including the thumbnails.
ok and for the main image?
Disabled the cache plugin … turned on the merge css options… still no result..
I also disabled all the performance enhancements within enfold.
Hey
- This reply was modified 4 years, 11 months ago by Victoria.
This reply has been marked as private.Also, I have checked the settings on each and they appear to be the same in the enfold panels
- This reply was modified 4 years, 11 months ago by roamingk.
Here is an image of the mobile view not working properly
Here is a view of it working ok
As you can see the image shrinks and the icon list appears over the text.
The only difference is the version. The plugins are the same.
At the moment I have them set to “display all”. I don’t have any date filter.. and am using the code as mentioned in the previous post. Is there a way to order custom posts in Enfold back end that I am missing?
ok I will disable and wait until you have an update :-) thanks for the assist so far.
Hello, I disabled that option and cleared the cache. The issue is still occurring. Results are inconsistent on each refresh.
-
AuthorPosts