Forum Replies Created
-
AuthorPosts
-
October 16, 2016 at 5:34 am in reply to: i would lke the image in the prodct list to be different than the product image #699445
Hi,
Thank you for the info. Please remove the modification then add this in the functions.php file.
add_filter( 'avf_builder_boxes', 'avf_builder_boxes_mod' ); function avf_builder_boxes_mod( $metabox ) { foreach( $metabox as &$meta ) { if( $meta['id'] == 'avia_builder' || $meta['id'] == 'layout' ) { $meta['page'][] = 'canne'; $meta['page'][] = 'moulinet'; $meta['page'][] = 'leurre'; $meta['page'][] = 'ligne'; $meta['page'][] = 'accessoire'; $meta['page'][] = 'archive'; } } return $metabox; }Best regards,
IsmaelHi,
There are multiple instances of the “Links Menu Principale” element in the advanced styling panel. We remove the duplicated elements.
Best regards,
IsmaelHi!
The file name (archiveadvertsloop-index.php) is invalid. It should be archive-cptname.php. And inside the archive file, you should have this line.
get_template_part( 'includes/loop', 'index' );You have to change “index” with the actual name of the loop file. If you have a file called “loop-adoptions” inside the includes folder, change it to:
get_template_part( 'includes/loop', 'adoptions' );Regards,
IsmaelOctober 16, 2016 at 5:23 am in reply to: Erledigt: Inhalts Elemente Masonry und Einträge-Slider funktionieren nur im IE #699442Hi ProCoder2025!
Thank you for using Enfold.
Could you please provide a link to the page in question? Please try the “avia_masonry_entries_query” filter.
// https://kriesi.at/support/topic/how-to-change-category-tag-archive-etc-pages-to-look-like-avia-masonry-grid/#post-661134
// https://kriesi.at/support/topic/masonry-element-is-not-working/#post-668823
// https://kriesi.at/support/topic/masonry-for-pages-2/#post-672210Cheers!
IsmaelHey!
I’m sorry but you can’t override this in a child theme. Please create a change log or a note about the modification in case you update the theme.
Best regards,
IsmaelOctober 16, 2016 at 5:17 am in reply to: multiple masonry grids – avoid duplicates when in multiple categories #699440Hey!
I am very interested with the jQuery solution if you don’t mind sharing it. :)
Cheers!
IsmaelHi,
Please edit the div tag of the fb pages, apply a unique class attribute to it then add this in the Quick CSS field.
.social_container { margin-bottom: 50px; }After adding the class attribute, the markup should look like this:
<div style="text-align: center;" class="social_container"> // fb embed code here</div>Best regards,
IsmaelHi,
Thank you for the info. I was able to reproduce the issue and it is caused by the “autopause” parameter. We added a temporary fix in the functions.php file.
// https://vimeo.com/help/faq/sharing-videos/embedding-videos#how-do-i-set-videos-to-autoplay-or-loop-when-i-embed-them add_action('wp_footer', 'ava_iframe_parameters'); function ava_iframe_parameters(){ ?> <script> (function($){ $(window).load(function() { // ------------------------------------------------------------------------------------------- // youtube parameter // ------------------------------------------------------------------------------------------- function avia_iframe_parameters(container) { var iframe = jQuery('iframe[src*="vimeo.com"]', container); iframe.each(function() { var current = jQuery(this), src = current.attr('src'); if(src) { if(src.indexOf('?') !== -1) { console.log('test: ' + src); src = src.replace(/\autopause=1/g, 'autopause=0&autoplay=1'); src = src.replace(/\autopause=0/g, 'autopause=0&autoplay=1'); src = src.replace(/\loop=0/g, 'loop=1'); } current.attr('src', src); } }); } avia_iframe_parameters('body'); }); })(jQuery); </script> <?php }Best regards,
Ismael-
This reply was modified 9 years ago by
Ismael.
October 16, 2016 at 3:36 am in reply to: remove duplicate images created in many languages by wpml #699432Hey smoothbob,
Thank you for using Enfold.
I’m not sure if you can remove those automatically but according to the W P M L forums, you have to remove those duplicates in the database via sql query. Unfortunately, we don’t know what script they are using to remove the images. Please contact the W P M L support team.
Related threads:
// https://wpml.org/forums/topic/how-to-delete-in-one-go-all-photos-duplicates-in-various-languages/page/2/
// https://wpml.org/forums/topic/media-thousands-of-duplicate-images-in-media-library/page/3/
// https://wpml.org/forums/topic/remove-duplicate-images-created-in-many-languages-by-wpml/
// https://wpml.org/forums/topic/need-to-remove-thousands-of-duplicate-images-in-media-gallery/Best regards,
IsmaelHi,
We added it in the Quick CSS field. Please remove browser cache or hard refresh before checking the page.
Best regards,
IsmaelHi,
I’m sorry but this is not possible with the Logo/Partner element because the images will inherit the size of the slider columns which is relative to the width of the browser screen or monitor resolution. Please check the logo slider in the demo, maybe you’ll have a better idea why the columns look consistent. http://kriesi.at/themes/enfold/
These are the logo images.
http://kriesi.at/themes/enfold/files/2013/10/wpml.png
http://kriesi.at/themes/enfold/files/2013/10/wordpress.png
http://kriesi.at/themes/enfold/files/2013/10/dribbble.png
http://kriesi.at/themes/enfold/files/2013/10/jquery.png
http://kriesi.at/themes/enfold/files/2013/10/envato.pngThe size of the actual logo differ but they are inside a canvas with a uniform size.
Best regards,
IsmaelHi,
Did you apply the “blog” category to that post? Please update the theme to the latest version including the plugins.
Best regards,
IsmaelOctober 16, 2016 at 2:55 am in reply to: No title displayed on post, excerpt missing on blog post #699428Hi,
1.) A modified code was provided here. https://kriesi.at/support/topic/missing-category-info-in-post-meta-infos-using-alb/#post-589014
2.) Yes, unfortunately, the share link probably hooks (https://developer.wordpress.org/reference/functions/do_action/) on to something but that hook is not available in the template-builder.php file.
3.) Great! Glad it is working.
Best regards,
IsmaelHi,
1.) Please replace the code in the functions.php file.
add_action('wp_footer', 'ava_custom_script'); function ava_custom_script(){ ?> <script type="text/javascript"> (function($) { function c() { $('.grid-sort-container').each(function() { var preview = $(this).prev('.portfolio_preview_container'); $(preview).insertAfter(this); }); } c(); })(jQuery); </script> <?php }2.) Did you move all elements in the page inside their own color sections? Like I said, it’s not working because the section is outside the wrap_all or main container.
Best regards,
IsmaelHi!
Please try to regenerate the thumbnails by using this plugin. https://wordpress.org/plugins/regenerate-thumbnails/
Cheers!
IsmaelHey Yoolia!
Thank you for using Enfold.
I tried to login but the password for the username is incorrect. Please check it. Or add this in the functions.php file to disable the theme’s language selector.
add_action('after_setup_theme','avia_remove_main_menu_flags'); function avia_remove_main_menu_flags(){ remove_filter( 'wp_nav_menu_items', 'avia_append_lang_flags', 20, 2 ); remove_filter( 'avf_fallback_menu_items', 'avia_append_lang_flags', 20, 2 ); remove_action( 'avia_meta_header', 'avia_wpml_language_switch', 10); }Regards,
IsmaelHey!
I’m sorry but this is not going to work with the advance layout builder. Please hire a freelance developer to create a script or contact our partner, codeable. http://kriesi.at/contact/customization
Another workaround is to create sub pages to avoid having a very long single page.
Regards,
IsmaelOctober 14, 2016 at 6:48 am in reply to: How can I change color of parting line below and above footer header? #698979Hey!
They actually have the same color, #005198. Please inspect it carefully. The lines are gone because the footer container is outside the wrap_all or main container. We fixed it by adding an invisible color section. Please remove browser cache then check the page. http://ledkingdom.com/contact/
Regards,
IsmaelOctober 14, 2016 at 6:38 am in reply to: Fullscreen Slider Video withouth Vimeo Overlay but Image Overlay #698978Hi,
Thank you for the update. Please tick the Hide Video Controls option.
Best regards,
IsmaelHi,
It’s not working because the succeeding color sections are outside the wrap_all or main container. Please make sure that all elements or set of elements are inside their own color sections.
Best regards,
IsmaelHi,
Please refrain from bumping or replying to your own thread because it gets pushed back to the end of the queue and moderators won’t be able to provide a response immediately. Please be patient while we go through the rest of the queue. Thank you for your understanding.
We removed the code from the footer widget and moved it in the functions.php file but it’s still not working. Are you sure that this is the whole script? Where did you get it?
// code in the functions.php file
add_action('wp_footer', 'ava_jotform_script', 10); function ava_jotform_script() { echo '<script src="https://form.jotform.com/static/feedback2.js?3.3.REV" type="text/javascript"> new JotformFeedback({ formId: "62804193508154", buttonText: "Contact Us Now!", base: "https://form.jotform.com/", background: "#F59202", fontColor: "#FFFFFF", buttonSide: "bottom", buttonAlign: "right", type: false, width: 600, height: 700 }); </script>'; }Best regards,
IsmaelOctober 14, 2016 at 6:19 am in reply to: Issue with theme hiding a share link for a plugin installed #698974Hi,
Did they tell you exactly what’s causing the link to disappear? This is the html markup of the share container. You can see that there is no actual link so it’s not hidden, it is not rendered in the page.
<div class="enmse-copy-link-box" style="top: 566px;"> <h4>Copy and share the link below:</h4> <a href="#" class="enmse-copy-link-done">Okay, I'm Done</a></div>Please note that we don’t provide support for third party plugins as stated on our support policy. https://kriesi.at/support/register/#av_section_2
Best regards,
IsmaelHi,
Data form element probably is missing in you css line. Is it? Please can you insert it?
I’m sorry but what do you mean by “data form element”? Could you please provide more info? A screenshot will help.
Best regards,
IsmaeloHi,
Sorry for the late response. We modified the css code in the Quick CSS field. Please remove browser cache or hard refresh before testing the page.
Best regards,
IsmaelOctober 14, 2016 at 6:10 am in reply to: Full Width Sub Menu sticks below frame with the fixed frame layout #698970Hi,
@foveaworks: Glad it worked. :)
@Guenni007: Thanks for investigating. We’ll look into it further.Best regards,
IsmaelOctober 14, 2016 at 6:08 am in reply to: multiple masonry grids – avoid duplicates when in multiple categories #698968Hi,
That’s the catch, unfortunately, you can’t override this file in a child theme.
Best regards,
IsmaelOctober 13, 2016 at 9:27 am in reply to: multiple masonry grids – avoid duplicates when in multiple categories #698633Hi,
This is possible but you have to modify the config-templatebuilder > avia-shortcodes > av-helper-masonry.php file, look for this code around line 648:
$query = apply_filters('avia_masonry_entries_query', $query, $params);.. replace it with:
$query = apply_filters('avia_masonry_entries_query', $query, $params, self::$element);And then replace the code in the functions.php file with the following.
add_filter('avia_masonry_entries_query', 'avia_masonry_entries_query_mod', 10, 3); function avia_masonry_entries_query_mod( $query, $params, $masonry ) { if(is_page(2) && $masonry == 1) { $exclude_cat = array('category__not_in' => '3'); $query = array_merge((array)$exclude_cat, (array)$query); } return $query; }The code should affect the page with the id of 2 and the first masonry element.
Best regards,
IsmaelHi!
We added this code in the Quick CSS field:
#text-4 .textwidget p:before { content: '\2022'; margin-right: 10px; }Regards,
IsmaelHey!
@Yago: If you need a quick fix or you want to translate the string manually, please install the following plugin. https://wordpress.org/plugins/loco-translate/
Regards,
IsmaelHi!
Please remove the sidebar modifications in the functions.php and Quick CSS field. Add this code in the functions.php.
// adjust settings on init add_action('init','ava534345953_init', 50); function ava534345953_init() { add_action( 'woocommerce_after_single_product_summary', 'avia_add_sidebar', 25); remove_action( 'woocommerce_after_single_product_summary', 'woocommerce_output_product_data_tabs', 10 ); remove_action( 'woocommerce_after_single_product_summary', 'woocommerce_output_product_data_tabs', 1 ); add_action( 'woocommerce_after_single_product_summary', 'woocommerce_output_product_data_tabs', 20 ); } function avia_close_image_div() { echo "</div>"; } function avia_add_sidebar() { if(is_product()) { $avia_config['currently_viewing'] = "shop_single"; get_sidebar(); } }And this code in the Quick CSS field:
.single-product-main-image { width: 25%; } .single-product-summary { overflow: hidden; width: 45%; float: left; margin-right: 5%; } .single-product .sidebar { width: 25%; } #top div.product .woocommerce-tabs { width: 75%; float: left; }Best regards,
Ismael -
This reply was modified 9 years ago by
-
AuthorPosts
