Forum Replies Created
-
AuthorPosts
-
March 9, 2021 at 11:51 am in reply to: After ALB Custom Elements activated –> SQL queries jumps from 20 –> 200 #1286672
Thanks, it’s working, but unfortunately those same queries are still cluttering the backend.
CET is a really welcomed feature, especially the attribute locking thing,
but until it’s working way faster, I’m going with my own custom elements.And is somebody still using WPML?
March 6, 2021 at 12:14 pm in reply to: After ALB Custom Elements activated –> SQL queries jumps from 20 –> 200 #1286057No, but that helped earlier when Enfold was creating hundreds of merged css/js files.
Just to clarify, I’m talking about this new feature in Enfold 4.8:
March 3rd 2021 – Version 4.8
feature: ALB custom elements – allow an editable layout of ALB elements on your siteSQL problem is still there. I tried with two different server setups and Opcache/Redis enabled/disabled.
- Without Redis, 200 database queries
- With Redis, queries drop from 200 –> 80
- With Redis and ALB custom elements disabled, queries drop from 80 –> 5
You could try something like this:
function custom_blog_img_size($thumb,$current_post,$size) { return get_the_post_thumbnail($current_post["the_id"], 'large'); } add_filter('avf_post_featured_image_link','custom_blog_img_size', 10, 3);
Try this.
Enfold version 4.5.4:
/config-templatebuilder/avia-shortcodes/logoslider/logoslider.php, row 603 add this:... shuffle($this->subslides); //add this before the foreach loop foreach( $this->subslides as $key => $slides ) ...
If you want to randomize only one element, use
if(avia_partner_logo::$slider == 2) { shuffle($this->subslides); }
You can get square items by adding this
.av-fixed-size .av-masonry-entry .av-inner-masonry-sizer { padding-bottom: 100%; }
You can get the content from page postmeta:
$post_id = 270; $includecontent = apply_filters('avia_builder_precompile', get_post_meta($post_id, '_aviaLayoutBuilderCleanData', true)); $includecontent = apply_filters('the_content', $includecontent); $includecontent = apply_filters('avf_template_builder_content', $includecontent); echo $includecontent;
Did a clean install: WP 4.4 and Enfold 3.4.5 -> It works now.
Any solution to this? I’m having the same problem except masonry doesn’t show anything on either languages.
This reply has been marked as private. -
AuthorPosts