Forum Replies Created
-
AuthorPosts
-
Yes, that’s my thought as well! But everyone likes to point fingers at all others involved (hosting providers, etc.), so I am only asking you to see if you have had any other experiences similar to this with any of the other thousands of Enfold users!
Thanks
Avery- This reply was modified 1 month, 1 week ago by So Evolve.
We removed the CSS modification for Rumble, and it now is displaying correctly in both the header and footer.
ThanksThis reply has been marked as private.Did you check on the social media icon “Rumble,” which is not displaying in the “header” area? It displays in the footer but not the header!
This reply has been marked as private.This reply has been marked as private.This reply has been marked as private.This reply has been marked as private.We had, but we just cleared the hosting cache, and now the edits are available without error.
Thanks
This reply has been marked as private.Updated Access & Confirmed – the site is backed up daily
- This reply was modified 9 months, 2 weeks ago by So Evolve.
This reply has been marked as private.This reply has been marked as private.This reply has been marked as private.This reply has been marked as private.Thanks for the quick support. It worked perfectly.
Close this ticket as complete!Saludos
Thanks for the support… we had emailto: not mailto:
corrected this typo and it works perfectly.As always your support is fast and very helpful.
Please close this ticket as completedCheers
- This reply was modified 1 year ago by So Evolve.
Close ticket… Thanks again
This reply has been marked as private.This reply has been marked as private.It worked like a charm…
Thanks
SaludosThis reply has been marked as private.This reply has been marked as private.Thanks, that was a simple fix!
Please close ticket
April 8, 2023 at 4:07 pm in reply to: Footer Widget – Not converting to Responsive design layout #1403883Please close the ticket
April 8, 2023 at 4:42 am in reply to: Footer Widget – Not converting to Responsive design layout #1403846Worked perfectly; thanks
Yes, you were correct; I did make the mistake of copying the code from the email.
I made the changes, and all works perfectly.
Thanks for the great supportThis reply has been marked as private.Thanks as always for your great support on the enfold theme.
Mark as closed ticket.Avery
FYI – We ran a test on a small site we use in-house and the code worked perfectly without conflict (good advise from you about testing)
Here is the full post with details for any other enfold users:
2. Display New Products Programmatically
Let’s say you want the products to be displayed in multiple places on your website. Then, it can be very tedious to open all the required sections of your website and add the block or the shortcode to them. Instead, you can just add a code to your theme files to display a “New” badge on the new products of your WooCommerce store.
But before moving forward, please make sure to backup your website and create a child theme using one of the child theme plugins. This will ensure that all the changes that you make to the core theme files are not affected when you update the WordPress theme.
2.1. Open the Theme Function FileWe will add the code snippet to the functions.php file of your theme. So, go to Theme > Theme File Editor from your WordPress dashboard after activating the child theme.
Then, you will need to open the functions.php file from the theme files on the right side of your screen.
theme file editor display new products in woocommerce
2.2. Add the Code to the Theme FilesAfter you open the theme functions file, scroll down to the bottom of the file and paste the following code snippet here.
add_action( ‘woocommerce_before_shop_loop_item_title’, ‘quadlayers_new_product_badge’, 3 );
function quadlayers_new_product_badge() {
global $product;
$newness_days = 10;
$created = strtotime( $product->get_date_created() );
if ( ( time() – ( 60 * 60 * 24 * $newness_days ) ) < $created ) {
echo ‘<span class=”itsnew onsale”>’ . esc_html__( ‘New!’, ‘woocommerce’ ) . ‘</span>’;
}
}The above code will add the new badge to the products that have been added to your website in the last 10 days. You can adjust the number of days according to the needs of your website. They can be changed depending on the number of days that you consider your recently added products to be new.
After adding the code, click on Update File.
You will be able to see that the new badge is added to the new products of your WooCommerce store when you preview them. The quickest way to view them is from the shop page itself.
-
AuthorPosts