Hi Gurify!
Yes, Kriesi uses a hook to change the html structure of the products a bit. With
add_action( 'woocommerce_before_shop_loop_item', 'avia_shop_overview_extra_div', 5);
Enfold adds an extra div between the li element and the product link (a element) of the default product loop – see default template here: https://github.com/woothemes/woocommerce/blob/master/templates/content-product.php which outputs the link with:
<li <?php post_class( $classes ); ?>>
<?php do_action( 'woocommerce_before_shop_loop_item' ); ?>
<a href="<?php the_permalink(); ?>">
<?php
/**
* woocommerce_before_shop_loop_item_title hook
*
* @hooked woocommerce_show_product_loop_sale_flash - 10
* @hooked woocommerce_template_loop_product_thumbnail - 10
*/
do_action( 'woocommerce_before_shop_loop_item_title' );
?>
<h3><?php the_title(); ?></h3>
<?php
/**
* woocommerce_after_shop_loop_item_title hook
*
* @hooked woocommerce_template_loop_rating - 5
* @hooked woocommerce_template_loop_price - 10
*/
do_action( 'woocommerce_after_shop_loop_item_title' );
?>
</a>
<?php do_action( 'woocommerce_after_shop_loop_item' ); ?>
</li>
The “woocommerce_before_shop_loop_item_title” hook is used to add the featured thumbnail and the buttons to the product loop (see code you posted in your post).
Is there a way to use the shortcode for a slider or similar and make it works inside the product template?
Yes, if you rewrite the code. However it’s not easy and probably requires some hours of work because you need to find a way to set the slideshow images, etc. Basically you need to replace the featured image function with do_shortcode(): http://codex.wordpress.org/Function_Reference/do_shortcode to execute the slideshow shortcode – i.e. replace:
echo get_the_post_thumbnail( $id , $size );
with
echo do_shortcode( '[YOUR SORTCODE]' );
and replace [YOUR SORTCODE] with the slideshow shortcode. The hard part is to generate the slideshow shortcode/content dynamically for each post.
Best regards,
Peter
So I’ve set a blog post content element in a 1/1 layout element on my frontpage and I’ve set it to display a single post with the ‘single author, big preview pic’ option selected. When I try to set a custom preview image size from the drop down menu, it doesn’t seem to matter what I set it to – the result is an image width of 100%. I’m not sure what’s going on. Help? enfold.co.za
Hi Ti7V!
Try to replace this code in enfold/config-templatebuilder/avia-shortcodes/magazine.php:
if($style == 'small')
{
if(empty($this->atts['thumbnails']))
{
$image = "";
$extraClass = "av-magazine-no-thumb";
}
}
else
{
$excerpt = !empty($entry->post_excerpt) ? $entry->post_excerpt : avia_backend_truncate($entry->post_content, apply_filters( 'avf_magazine_excerpt_length' , 60) , apply_filters( 'avf_magazine_excerpt_delimiter' , " "), "…", true, '');
}
with:
if($style == 'small')
{
if(empty($this->atts['thumbnails']))
{
$image = "";
$extraClass = "av-magazine-no-thumb";
}
}
$excerpt = !empty($entry->post_excerpt) ? $entry->post_excerpt : avia_backend_truncate($entry->post_content, apply_filters( 'avf_magazine_excerpt_length' , 60) , apply_filters( 'avf_magazine_excerpt_delimiter' , " "), "…", true, '');
Best regards,
Peter
This reply has been marked as private.
I did the testing and found the problem was because I was using the admin account and also the page was privet perhaps. I tried it again and there was no data in the fields. When I used the admin account all the data from the previous test was already populated in the checkout fields. Not sure what that was all about though do you?
I am looking to buy woo commerce subscription today for Enfold . I want to use an initial set up fee as a charge for the subscription. But I here that the tags in pay pal come up with “Trial Period” as the charge name for the setup fee but not the subscription. Do you know if this is still a problem? I am in England and I have read in America they have a way of getting around this?
Hello we got website, all portfolio items redirects to 404 page, no posts are found, what is the problem?
Please help
Enfold theme
Hi,
I have updated Enfold theme a the problem is, the I am no able to overwritte in slug in the main page. There is always slug from my post and it’s overwritting the title and description.
I have also update WordPress to the latest version and Yoas SEO plugin.
Enfold 2.9.2
SEO Yoast 1.5.6
Best regards
michal
Hi
Ich würde gerne die Anzeigegrösse des Alphabets sowie die Grösse der Schrift darunter ändern.
Der Programmierer des Plugins sagte mir, dass ich das nur im Theme selbst ändern kann. Könnt Ihr mir hier bitte weiter helfen?
Ich habe es schon versucht indem ich die Font auf der Site (ist eine leere Site) auf von Absatz auf Überschrift 3 geändert habe, aber es passiert nichts..
DANKE für Eure Support! :-)
VG Nic
Hi aregowe!
Thank you for visiting the support forum.
I’m sorry, if I am not mistaken, you’re trying to move the social icons inside the main menu area? That’s how I understand it when I look at the screenshot. Please go to Enfold > Header layout > Extra Elements panel. Look for the Header Social Icons then choose the third option(Display in main header area).
Regards,
Ismael
Okay. Forget the theme switcher. Forget the other theme. Both have been disabled and are no longer a variable.
Our client’s site is running WordPress 2.9.2 and Enfold 2.8.1
The site has a custom post type called “Videos”
When we go to permalink to one of the “Videos” post, we get a 404 error: http://tnreport.staging.wpengine.com/2014/08/28/haslam-committing-new-voucher-legislation/ (hosted on WPengine)
We don’t get that error when we try any other theme.
Hi aregowe!
Thank you for using Enfold.
We would like to check the actual website. Please post the url here. Note that mega menu titles or the first column on the mega menu set will not accept the link target attribute. You can add this on functions.php to change the target attribute to blank:
function megamenu_title_link() { ?>
<script type="text/javascript">
jQuery(window).load(function(){
jQuery('.mega_menu_title a').attr('target', '_blank');
});
</script>
<?php }
add_action('wp_head', 'megamenu_title_link');
Regards,
Ismael
Hi DarkNemos!
Thank you for using Enfold.
Please go to Enfold > Header Layout Panel. Look for the Header Position settings. In case you have any questions, please take some time to review all of the resources in the Theme Documentation as a lot of basic stuff like theme installation, css snippets etc are already available in there with better explanation and awesomeness. Watch some of our Video Tutorials to learn more about the different aspect of the theme. You can also search the forums for queries that has been answered before that might be related to your problem.
If you find that you still have questions after taking the time on our documentations, don’t hesitate to let us know and we will be happy to assist you. If you have any requests or you feel like giving us a warm hug? You can definitely post it on our Feature Requests page. :)
Thanks!
Cheers!
Ismael
Hey Jamie A!
Thank you for using Enfold.
Please refer to this link but instead of adding it on menu items, you can add the anchor links on the icons: http://kriesi.at/documentation/enfold/add-anchors-to-your-page-for-single-page-navigation/
Best regards,
Ismael
Hey alexmasica!
Thank you for using Enfold.
Are you using the blog posts element on your blog page? Maybe you didn’t select the category?
Regards,
Ismael
Hi!
Please check the wp-content/themes folder. What are the folder names on that directory? If you have the enfold folder, please check the version number on enfold > style.css file.
Regards,
Ismael
Hey TheodoraPhotography!
Thank you for using Enfold.
Unfortunately, you can’t add a background image when using the stretched layout without modifying the css. You can refer to this link on how to apply a background image on the body and make the color sections transparent : https://kriesi.at/support/topic/full-page-background-image-2/
Best regards,
Ismael
Hi Oliver!
Thank you for using Enfold.
Please use this on Quick CSS or custom.css:
.woocommerce #customer_login h2 {
text-transform: initial;
margin-top: 10px;
margin-left: 20px;
}
.woocommerce div#customer_login .col-2 form {
padding-bottom: 60px;
}
Cheers!
Ismael
Hi!
I’m updating the spanish file, here the link of what I have already:
Enfold es_ES
Greetings!
-
This reply was modified 11 years, 6 months ago by
odmv.
Hi jijiprod!
Thank you for using Enfold.
We would like to see the actual website with the customization. Please post the url here.
Regards,
Ismael
Hey filamentworld!
Thank you for using Enfold.
This should be enabled by default. Anyway, please try to disable the shop base page on Woocommerce > Settings > Products panel. Deselect the shop page on Product Archive / Shop Page. Edit the shop page then add the Product Grid element inside the Plugin Additions panel using the Advance Layout Builder. The Shop page should act as a default page with title and breadcrumbs.
Best regards,
Ismael
Hi samforan!
Thank you for using Enfold.
The image on the dropbox has been deleted. Anyway, I checked the site and it looks good.
Best regards,
Ismael
Hey Chris!
Thank you for using Enfold.
It’s not an error. The sidebar for single product pages is placed below the product featured images by default.
Regards,
Ismael
Hi aregowe!
Thank you for using Enfold.
You can add any html codes on Enfold > Header Layout > Extra Elements panel. Look for the the Header Phone Number/Extra Info field.
Cheers!
Ismael
Hi jeffreyvanoostrom!
Thank you for using Enfold.
Do you mind if we take a look at the actual website? Please post the url here. You can decrease the padding of the menu items using this on Quick CSS or custom.css:
@media only screen and (max-width: 989px) and (min-width: 768px) {
.av-main-nav > li > a {
padding: 0 8px;
}
}
Cheers!
Ismael
Hey scottwgraves!
Thank you for using Enfold.
Honestly, we’re not familiar with theme switcher plugin and regretfully, we cannot provide support for third party plugins or scripts as stated on our support policy due to the fact that there is simply no way to account for all of the potential variables at play when using another developer’s plugin or script. Because of this, any questions you have regarding setup, integration, or troubleshooting any piece of functionality that is not included on the theme package will need to be directed to the plugin author. Anyway, how did you add the custom post type ‘Videos’?
Best regards,
Ismael
Hi graphico!
Thank you for using Enfold.
Try to add this on Quick CSS or custom.css if you don’t want the animation:
.avia_transform .av_font_icon {
opacity: 1 !important;
-moz-transform: scale(1) !important;
-webkit-transform: scale(1) !important;
-ms-transform: scale(1) !important;
transform: scale(1) !important;
}
Best regards,
Ismael
the menu tree dis not convert once submitted.
i describe it as
home being the base then
having a second level collection and within each another level of pages.
I tried this and it doesn’t work.
I’ve searched for info on enfold solution but only find external plugins offering solutions.
I want to use enfold for mega menus.
Hi guys,
It was brought to my attention that on one of the pages of a site we created, the background image was still showing on mobile after doing a media query to remove on tablets and phones. After adding it and testing by sizing down our computer browser screen – it was not displayed after reaching the width assigned HOWEVER….. clients on phones were saying they could see it in the background. I confirmed this.
I set up a page mentioned in this post as a sample page with the background image. I have assigned it a css class of badge_bg.
What is the correct code to make this actually not display on mobile devices?
Hey Yigit,
Thanks a lot, this solved the issue. I was so behind, I just assumed the “Theme Update” within the Enfold menu was good because it constantly said I was up-to-date. Hopefully it will let me know when future updates arrive now.
Thanks again!
I want to have the Layerslider as an animated element a little down the page. When I move it there, it won’t load.
If I move it up, close to the top of the page, it loads just fine. Have confirmed this on latest Chrome, Firefox and Safari and iPad (iOS 7 latest stable).
Please advise as Revoution slider placed where I want works fine, but Revolution Slider does not offer the animation options LayerSlider does.
I am running latest version of WP and theme and all plugins are up to date.
I have also tried disabling all plugins and this did not resolve the issue. Nor did switching to Parent theme. ( as I using Enfold child theme)
Please advise ASAP.