Forum Replies Created
-
AuthorPosts
-
Ok like this, with both codes, it is working, but …
you have used the existing WooCommerce textarea, meant to add a long description before the products. Now it is not possible anymore to add a single line of text before the products to explain whatever is necessary to explain
Over the banner you can add just one or maximum two short sentences
Long descriptions are very important to bring archive pages to a high ranking
Also, you have used the WooCommerce “Thumbnail” upload to choose or upload the banner
Again, the problem is that a banner is a panoramic picture that might look ugly in a square thumbnail, when that subcategory is presented in the father category page
The correct way should be- Leave, as they should be, the default WooCommerce fields as they are, they are necessary like this
- Add back-office facilities to add banners and their titles and descriptions in the edit category page
Adding a banner is an easy and straightforward thing to do in many themes, and I was expecting this missing functionality since long ago to be added in Enfold too, but as it is now it is not useful for me
Please see screenshot to understand what I mean
Thank you anyway
MauroOctober 14, 2022 at 5:18 pm in reply to: Mini cart – Display Floating on the side, but only once product #1368897Ok thank you Nikko
These rules will be added in a future release?
Just to know, so that I can remove them in the futureThank you
MauroThank you Nikko,
I added the code, but nothing has changedThis approach can also be bad for Cumulative Layout Shift
Google states:
—————————
The most common causes of a poor CLS are:-
Images without dimensions
Ads, embeds, and iframes without dimensions
Dynamically injected content—————————
MauroThis reply has been marked as private.Thank you Nikko,
but unfortunately it does not work
I have addedadd_filter( ‘woocommerce_product_categories_widget_args’, ‘rv_exclude_wc_widget_categories’ );
function rv_exclude_wc_widget_categories( $cat_args ) {
$cat_args[‘exclude’] = array(‘462’); // Insert the product category IDs you wish to exclude
return $cat_args;
}
but category it is still there in the codethere is a comment in that post which says
#######################
Hello,
This code is no more working in Woo Version 6.5.1
Can you please send me the updated version of this code ?
Nand
########################
Our WooCommerce Version is 6.8.2Mauro
-
This reply was modified 2 years, 5 months ago by
profumopuntoit.
Thank you
Mauro
Thank you Ismael,
but that means that any change made in the code will be lost in the next update. Will you please add this code in a future release?I think that all ecommerce Enfold clients will appreciate, because it is obvious that a shop owner will prefer that product will be displayed before anything else
Best regards,
Mauro-
This reply was modified 2 years, 6 months ago by
profumopuntoit.
Thank you Ismael,
the code works great
but, as I said, my main concern is the display of product first results in the Ajax top bar widget, that is returning completely different results. Please see screenshot
Is it possible to change the ordering also there?Another little issue with sticky posts is that, if in WP reading settings you have set a certain number for “Blog pages show at most” that is a multiple of the number of posts per line so that the line is full, the sticky post will be added and there will be a post alone in an additional row
Please see screenshot https://imgur.com/X5c1loi
MauroThis reply has been marked as private.Hello,
no, we are not using the Blog Posts element, we are using the Post slider element in the home
MauroThis reply has been marked as private.August 17, 2022 at 4:58 pm in reply to: Move author and date at the beginning of the article #1361979It’s Ok
Thank you NikkoAugust 17, 2022 at 10:48 am in reply to: Smaller sidebar width, but only in certain areas of the site #1361908Thank you Nikko,
it is working
August 15, 2022 at 12:13 pm in reply to: Smaller sidebar width, but only in certain areas of the site #1361692Thank you Nikko,
it is working adding
display: table-row;#top.archive.tax-product_tag #main .sidebar_right {
width: 13%;
display: table-row;
}Thank you
Mauro-
This reply was modified 2 years, 7 months ago by
profumopuntoit.
Thank you Guenni007, It works!
For future reference, I just had to change the if condition like thisfunction avia_change_sidebar_layout($layout, $post_id) {
if( is_product_tag() ) {
$layout[‘current’] = $layout[‘sidebar_right’];
$layout[‘current’][‘main’] = ‘sidebar_right’;
}
return $layout;
}
add_filter(‘avia_layout_filter’, ‘avia_change_sidebar_layout’, 10, 2);add_filter(“avf_custom_sidebar”, function($custom_sidebar) {
if( is_product_tag() ) {
$custom_sidebar = “product_tag”;
}
return $custom_sidebar;
}, 10, 1);Thank you Nikko for looking into the issue
I have disabled Asset CleanUp: Page Speed Booster plugin that might interfere because it caches the css
The number of items to show on the shop page are set in WooCommerce products setting page
Please see screenshot https://imgur.com/a/WlGJX7MMauro
This reply has been marked as private.July 20, 2022 at 1:08 pm in reply to: E_ERROR caused in line 17 of file /wp-content/themes/enfold/searchform.php #1358891Hello, it did happen another time, again related to WP Cerber Security (in private the details)
I can try to see if I can exclude searchform.php from WP Cerber scanning, but this is a workaround, I think that searchform.php should be written in a way that it doesn’t throw a fatal error if accessed for whatever reason
WP Cerber Security has a record of more than 200.000 installs, and I am using more or less the default options
Thank you
MauroJuly 13, 2022 at 10:53 am in reply to: E_ERROR caused in line 17 of file /wp-content/themes/enfold/searchform.php #1358186No, I have not run any task, I had just installed Cerber
maybe he made a scan with his “Site Integrity” functionalityThank you Ismail, perfect
So you can confirm that our sites that are on Enfold Version: 4.8.9.1 are safe?
Mauroplease see https://www.ecosia.org/search?q=enfold%204.8.3%20Cross%20Site%20Scripting%20vulnerability%20
Best regards,
MauroJanuary 28, 2022 at 1:40 pm in reply to: Fatal Error in slideshow_fullsize after installing version 4.8.9 #1337716Ok thank you
the path
/shortcodes/slideshow_fullsize/slideshow_fullsize.php
does not exist anymore
now is
/config-templatebuilder/avia-shortcodes/slideshow_fullsize/slideshow_fullsize.phpJanuary 27, 2022 at 5:20 pm in reply to: Fatal Error in slideshow_fullsize after installing version 4.8.9 #1337564This reply has been marked as private.December 14, 2021 at 3:26 pm in reply to: Fatal Error in class-asset-manager.php after installing Version 4.8.8 #1332803Yes ok but the error is in:
Attempt to assign property “src” on null in /www/sufiit_944/public/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/class-asset-manager.php:88
Can’t you write it in a way that, whatever happens, it doesn’t return a fatal error?Thank you
MauroDecember 13, 2021 at 9:44 pm in reply to: Fatal Error in class-asset-manager.php after installing Version 4.8.8 #1332662This reply has been marked as private.December 13, 2021 at 7:13 pm in reply to: Fatal Error in class-asset-manager.php after installing Version 4.8.8 #1332643This reply has been marked as private.December 13, 2021 at 7:11 pm in reply to: Fatal Error in class-asset-manager.php after installing Version 4.8.8 #1332642This reply has been marked as private.Dear Guenni007, your help is very much appreciated
I have a modest capability in PHP and in ordinary times I like this kind of challenges and going through something that is not exactly on the point of a mouse, but I was in the urge to modify the homepage with the banner for Christmas holiday that had to be done that very day without delayThank also to Mike that made the thread readable and easily feasible also for not techs, and especially for the submission to the Dev Team
Mauro
-
AuthorPosts