Update: problem solved!
Normally, this snippet should be sufficient to stop ‘related products’ from showing on the Single product page:
remove_action( ‘woocommerce_after_single_product_summary’, ‘woocommerce_output_related_products’, 20);
Unfortunately, this snippet has absolutely no effect.
I searched around and saw that many before me were running into this issue. Finally via Stack Overflow (https://stackoverflow.com/questions/42215193/remove-action-on-related-products-is-not-working-with-woocommerce-hook) I found a snippet that does work, provided theme 2021 is used.
function remove_woo_relate_products(){
remove_action( ‘woocommerce_after_single_product_summary’, ‘woocommerce_output_related_products’, 20);
remove_action( ‘woocommerce_after_single_product_summary’, ‘woocommerce_upsell_display’, 15 );
remove_action( ‘woocommerce_after_single_product_summary’, ‘storefront_upsell_display’, 15 );
}
add_action(‘init’, ‘remove_woo_relate_products’, 10);
If I then switch to Enfold I see the related products on the product page again.
I know I can use CSS to make the related products ‘not visible’, but I don’t want them to load at all to keep the page as light as possible.
How can I achieve this?
https://www.dropbox.com/s/g642jfalv3rvzpv/Schermafbeelding%202022-05-06%20om%2015.41.23.png?dl=0
Thanks in advance!
Ita
-
This topic was modified 3 years, 11 months ago by
ifranl.
The Plugin “Contact Form DB for Enfold” appears to be abandoned. Do you know another good plugin as a replacement?
Thanks!
Hey!
Thank you for your patience.
Did you set your Instagram account to be private? We tried to view your Instagram account directly but it just redirects to a login page, which might mean that the account or profile is not public, or Instagram now requires users to login in order to see any profile. We might have to adjust the Instagram widget if that is the case.
// https://help.instagram.com/448523408565555
Have you tried using the Smash Balloon version of the Instagram widget?
// https://kriesi.at/documentation/enfold/instagram/#enfold-instagram-smash-balloon-widget-and-element
Regards,
Ismael
Hi,
Glad we were able to help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.
Best regards,
Mike
Hi,
Glad we were able to help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.
Best regards,
Mike
On my product page, the images are too big and changed settings via customizer does not work.
Additionally, I want to have all pictures in square mode, so if the picture is portrait format it should be provided with a square white background via css.
Any ideas how to manage this?
Login credentials and link via private content.
Many thanks in advance!
-
This topic was modified 3 years, 11 months ago by
donillo.
Hi Mike,
it works and looks great!
So this topic can be closed.
Thank you so much Mike and the Enfold team.
Best regards, fkm
Sebastian BaumannGuest
Hi Guys,
my Enfold licence is outdatet. I´d wanted to insert a new token (see private content)
But it does not work.
What can I do?
Hi,
Thank you for the screenshot.
You can use this css code to hide the catalogue price and replace it with a button.
.av-catalogue-price.av-cart-update-price * {
display: none;
}
.av-catalogue-price.av-cart-update-price:before {
content: "View Training";
color: #000000;
background: #ebebeb;
padding: 10px 13px !important;
top: 10px;
position: relative;
border-radius: 3px;
font-size: 13px;
}
Please toggle or temporarily disable the Enfold > Performance > File Compression settings after adding the css code.
Best regards,
Ismael
Hi,
This layout should be possible but it will require some adjustments on different screen sizes using css media queries. You can start with this css code.
@media only screen and (min-width: 989px) {
.avia-fullwidth-portfolio .grid-entry .inner-entry {
margin: 0;
position: absolute;
top: 50%;
transform: translateY(-50%);
}
.avia-fullwidth-portfolio .grid-entry {
padding: 3%;
min-height: 381px !important;
}
}
Please toggle or temporarily disable the Enfold > Performance > File Compression settings after adding the css.
Best regards,
Ismael
Hey sensiblekaren,
Thank you for the inquiry.
Did you create a copy of the single-events.php file in the child theme directory? Please make sure to update the theme to the latest version (4.9.2.2).
To temporarily hide or remove the duplicate of the event details, please use this css code.
.av-single-event-content + .av-single-event-meta-bar.av-single-event-meta-bar-desktop {
display: none !important;
}
You may need to toggle or temporarily disable the Enfold > Performance > File Compression settings after adding the css.
Best regards,
Ismael
Hi Vera,
Please add this CSS code in Enfold > General Styling > Quick CSS:
#top .avia-post-nav .iconfont:before {
display: none;
}
#top .avia-post-nav {
width: 60px;
}
#top .avia-post-prev .iconfont {
background: url(https://website.com/wp-content/uploads/2017/02/arrow_prev.png) center center no-repeat;
background-size: contain;
height: 30px;
width: 30px;
}
#top .avia-post-next .iconfont {
background: url(https://website.com/wp-content/uploads/2017/02/arrow_next.png) center center no-repeat;
background-size: contain;
height: 30px;
width: 30px;
}
Just replace http://website.com/wp-content/uploads/2017/02/arrow_prev.png and http://website.com/wp-content/uploads/2017/02/arrow_next.png with the correct URL of your arrow images, then adjust height and width as you see fit.
Also adjust the 60px width of the post nav as you see fit as well.
Best regards,
Nikko
Hi smarta-brett,
I’m glad that we could help you :)
Thanks for using Enfold and have a great day!
Best regards,
Nikko
We have problem in header menu quick search .
We place the following code in enfold theme options HEADER => extra elements =》Phone Number or small info text
code:
<div> <input type="submit" value="" id="searchsubmit" class="button avia-font-entypo-fontello" /> <input type="text" id="s" name="s" value="" placeholder=’Search’ /> </div> </form>” aria-hidden=”true” data-av_icon=”” data-av_iconfont=”entypo-fontello” style=””><span class=”avia_hidden_link_text”>Search</span>
At the same time, we have installed WPML, and the second language system is in incognito mode.
AJAX will display the results of the main English language instead of the current language.
We have cleared the website and host cache, closed other plugins, upgraded ENFOLD and WPML versions,
please help me to resolve it, thank you.
Hi Mike,
Please try to add this CSS code in Enfold > General Styling > Quick CSS:
#top .container_wrap_first {
border-top: none;
}
Best regards,
Nikko
Hi,
Glad Rikard could help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.
Best regards,
Mike
Hi,
Thanks for helping Guenni007, hans_w, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.
Best regards,
Mike
Hi,
Glad Ismael could help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.
Best regards,
Mike
Hi,
Glad Guenni007 was able to help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.
Best regards,
Mike
Hi Elvira,
I apologize if I have caused any inconvenience however the answer I gave you is pointing in the right direction but would require some time, although it’s easy to follow but would require you to tweak some of it. That’s why my next response was to give you the specific codes for mastodon. :)
Anyway, thanks for using Enfold, and have a great day!
Best regards,
Nikko
Hi,
Glad Ismael could help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.
Best regards,
Mike
Hi,
Glad Ismael could help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.
Best regards,
Mike
Hi,
Glad we were able to help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.
Best regards,
Mike
Hello Rikard. Thank you for checking into this. I have upgraded to the latest version of Enfold and cleared the cache. In my situation, I had icon boxes in the columns I was trying to add the column links to, so to troubleshoot, I removed the icon boxes from the columns and tested. The links still did not work.
Next, I changed the column link (http://mysite/mypage/#anchor) by removing the anchor (#anchor). The column link works as soon as the #anchor is removed. However, I have no way of linking to a page anchor if this is the case – and I need to be able to link to a page anchor.
If you’re able to let me know if there is a fix for this, I would appreciate it. Thank you.
i’m working off of a demo in enfold for a photography portfolio. the demo has a layer slider on the homepage with buttons but when I go in to edit this, there is no option available for buttons. the site is almost done and I would like some help here. any suggestions?
thanks,
jenny
p.s. i used this theme years ago and am familiar with the buttons….so I know for sure that they just aren’t there.
Hi Rikard, thanks for the reply. I’ve updated the theme to the latest version and also waited a few days for Google to recrawl the homepage which I verified on search console to have already occurred 2 days ago. Unfortunately, the Fav Icon on mobile search results is still showing the default WordPress Icon and not the icon which I have set via the enfold theme (icon shows up fine on the browser tabs).
Appreciate your kind assistance to have a closer look on this. Thanks.
Hi ozdal23,
Please open a new thread and include WordPress admin login details in private, so that we can have a closer look at your site. Also please try to describe the problem you are having a bit further in the new thread.
Best regards,
Rikard
Hi all,
Is
themes\enfold\config-templatebuilder\avia-shortcodes\product_list.php (as of: https://kriesi.at/support/topic/product-catalogue-template/#post-1350662 )
also the document I need to modify if I want the Product List element to have a button with the text ‘View training’ instead of the price?
Or is there perhaps a snippet I can use?
This is what I would like to achieve:
https://ifra.nl/wp-content/uploads/2022/05/Schermafbeelding-2022-05-05-om-17.24.41.png