Forum Replies Created
-
AuthorPosts
-
Hey ZELLERW,
Thank you for the inquiry.
The screenshot above is not displaying correctly. Please post it again using imgur or dropbox. To display the tags in the footer, you may need to modify the footer.php file or the includes > loop-index.php file and use the get_the_tags function.
// https://developer.wordpress.org/reference/functions/get_the_tags/#user-contributed-notes
Best regards,
IsmaelHi,
This seems to be the same issue as reported here. https://kriesi.at/support/topic/creating-menu-anchors/
Please do not open duplicate threads. We will close this one for now.
Best regards,
IsmaelMay 18, 2021 at 7:11 am in reply to: Embedded Spotify link slowing down site/crashing website #1300874Hey gtj007,
Thank you for the inquiry.
The site loads fine on our end but we get this error or warning in the console.
DRM might not be available from unsecure contexts
embed-podcast.1d392ec3.js:1 Uncaught (in promise) Error: No valid encryption keysystem found in your browser. We either don’t support your browser keysystem or the browser you’re using is too old and doesn’t have this feature; consider upgrading it or manually enable the DRM system.The error possibly occurs because the site is loaded through http, not https, or it does not have an SSL certificate yet. You may need to get or install an SSL cert in order for the spotify embed to work properly.
Best regards,
IsmaelMay 18, 2021 at 5:57 am in reply to: Custom CSS in style.css (child theme) doesn't work – same in the editor works #1300861Hey ZELLERW,
Thank you for the inquiry.
It is possible that the Performance > File Compression settings are enabled. Try to disable the settings, then add the css code again. Make sure to purge the cache afterwards.
Best regards,
IsmaelHey TT2495,
Thank you for the inquiry.
The first category should display in the breadcrumb, but not all. Are you trying to display all categories in the breadcrumb? Adding this filter in the functions.php file might help.
// breadcrumbs filter for blog posts, stop breadcrumbs showing category for news if(!function_exists('avia_modify_single_post_breadcrumb')) { function avia_modify_single_post_breadcrumb($trail) { if(!is_single()) return $trail; $category = get_the_category(get_the_ID()); if(empty($category)) return $trail; $newtrail = array(); foreach($category as $cat) { if(empty($cat->parent)) { $category_link = get_category_link($cat->term_id); $newtrail[] = '<a href="'.esc_url( $category_link ).'" title="'.$cat->cat_name.'">'.$cat->cat_name.'</a>'; } } if(empty($newtrail)) return $trail; array_unshift($newtrail, $trail[0]); $newtrail['trail_end'] = $trail['trail_end']; return $newtrail; } add_filter('avia_breadcrumbs_trail','avia_modify_single_post_breadcrumb'); }
Best regards,
IsmaelHey Severin,
Thank you for the inquiry.
Each site using a single license should be updated separately. You can do it automatically from the Enfold > Theme Updates panel, or by uploading the downloaded theme manually via FTP. For more info about theme update, please check the following article.
// https://kriesi.at/archives/the-complete-guide-to-updating-enfold
Best regards,
IsmaelHey bcndisseny,
Thank you for the inquiry.
The custom html field will not be included in the message or email by default. As the name suggests, it is only used to create custom html or descriptions and is not part of the contact form. Unfortunately, including it in the email is not possible because it is div container, not an input field or textarea.
What you can do is use the avf_form_message filter and try to edit the actual email message and insert the title or sections programatically. Unfortunately, this may require significant amount of modification, which is beyond the scope of support.
Best regards,
IsmaelMay 18, 2021 at 2:27 am in reply to: Enfold Latest News Widget Not Showing Excerpt And Missing From Some Pages #1300850Hey Blaise,
Thank you for the inquiry.
The widget is not displaying on other pages because of this css code, which seems to have been added using a custom css and js plugin.
.sidebar .widget:first-child, .content .sidebar .widget:first-child { display: none; }
Best regards,
IsmaelHi,
Thank you for the inquiry.
Did you actually create a publication_post template? Custom post types made from CPT UI should display immediately without creating a special template using a Blog Posts element. Please post the link to the page where you are trying to display the custom posts so that we could check it properly.
Best regards,
IsmaelHi,
Thank you for the inquiry.
That is possible but you may need to use a “discount” plugin.
// https://wordpress.org/plugins/woo-discount-rules/
If you only need to change the text in the sales badge, this code should help.
add_filter( 'woocommerce_sale_flash', 'wc_custom_replace_sale_text' ); function wc_custom_replace_sale_text( $html ) { return str_replace( __( 'Sale!', 'woocommerce' ), __( 'New Sale Text Here', 'woocommerce' ), $html ); }
Best regards,
IsmaelMay 18, 2021 at 1:53 am in reply to: Missing font in frontpage after clicking enfold save button #1300845Hi,
Thank you for the update.
Do you want us to export and import the theme options back in the staging site? Would you mind providing a screenshot of the issue? If necessary, you can configure the fonts in the Enfold > General Styling > Fonts panel, and the breadcrumb and title settings in the Header > Header Layout panel. We do not encounter any issues or errors when we try to change the theme options.
Best regards,
IsmaelHey nickthe,
Thank you for the inquiry.
This is possible, but we have to make a new instance of the portfolio widget and create our own query. To do that, try to add this code in the functions.php file.
// https://pastebin.com/eV2wigYu
We added the new query here.
$this->avia_new_query = array( "posts_per_page"=>$count, 'date_query' => array( 'column' => 'post_modified', ),'tax_query' => array( array( 'taxonomy' => $this->avia_term, 'field' => 'id', 'terms' => explode(',', $cat), 'operator' => 'IN') ));
And use the date_query parameter to fetch the portfolio items based on the date they were modified.
'date_query' => array( 'column' => 'post_modified', ),
More info here.
// https://developer.wordpress.org/reference/classes/wp_query/#date-parameters
The new name of the widget is “Movers Latest Portfolio”. If you want to change it, just look for this line.
WP_Widget::__construct( 'portfolioboxnew', 'Movers Latest Portfolio', $widget_ops );
Best regards,
IsmaelMay 17, 2021 at 3:51 pm in reply to: Refresh Price when quantity changes on Single Product Page to show discounts #1300772Hey baseenergy,
Thank you for the inquiry.
Which plugin are using now? Dynamically updating the price based on the current product quantity should be possible but we are not sure how the plugin works or how it updates the product. You may need to contact the plugin developers for more info.
Best regards,
IsmaelMay 17, 2021 at 3:46 pm in reply to: woocommerce category description displayed in title header #1300768Hi,
The hook works fine on our end. Please try this again.
// ADD PRODUCT CATEGORY DESCRIPTION IN RIGHT PLACE add_action("after_setup_theme", function() { add_action( "woocommerce_before_shop_loop", "woocommerce_taxonomy_archive_description", 10 ); add_action( "woocommerce_before_shop_loop", "woocommerce_before_shop_loop", 10 ); }, 20);
Open a new thread if this continues to be an issue and post the site details again in the private field. We will close this one for now because the thread becoming a bit too long.
Thank you for your patience.
Best regards,
IsmaelHey Blaise,
Thank you for the inquiry.
You can use this css code to move the featured image back to the left of the post content.
#top .fullsize .template-blog .blog-meta { float: left; margin-right: 50px; }
Please toggle or temporarily disable the Enfold > Performance > File Compression settings after adding the css code.
Best regards,
IsmaelHi,
Regarding the email address issue, please try the following steps.
// https://kriesi.at/documentation/enfold/contact-form/#my-contact-form-is-not-sending-emails-
This filter from the documentation might help.
function change_cf_from() { return " (Email address hidden if logged out) "; } add_filter('avf_form_from', 'change_cf_from', 10);
Replace the site URL with your own.
If you have any additional questions at this time we kindly ask that you open them up in a separate thread. The longer threads get in the forum, they become more difficult to support as they tend to drift off topic and they also make it troublesome for users trying to search for solutions. Keeping threads relevant to their original inquiry ensures that we can keep better track of what has been resolved and that users can more effectively find answers to similar issues they might be experiencing.
Thanks!
Best regards,
IsmaelHi,
The problem occurs when i select category > uncategorised so that i can display all posts.
If you want to display all posts, then select all the available categories or taxonomies or do not select anything at all. It is possible that one of the item is not uncategorized.
Would you mind providing a link to the page where you need to display this? Are you using the Grid Layout? If you are, then you will have to modify or add the code in the enfold/config-templatebuilder/avia-shortcodes/postslider/postslider.php file.
Best regards,
IsmaelHi,
Awesome! Glad to know that it is fixed. Please feel free to open a new thread if you need anything else.
Have a nice day.
Best regards,
IsmaelHi,
We used this code in the functions.php file, but it did not work.
add_filter('avf_ratio_check_by_tag_values', 'avf_ratio_check_by_tag_values_mod', 10, 1); function avf_ratio_check_by_tag_values_mod($tags) { $lang = pll_current_language(); if($lang == 'hu') $tags = array('portrait' => 'portrait', 'landscape' => 'landscape'); if($lang == 'en') $tags = array('portrait' => 'portrait', 'landscape' => 'landscape'); if($lang == 'de') $tags = array('portrait' => 'portrait', 'landscape' => 'landscape'); return $tags; }
But then we noticed that the pages are not yet translated including the home page. Please translate the pages first, then set the home page in the Settings > Reading panel. (see private field)
// https://polylang.pro/doc/define-your-home-page-as-a-static-page/
// https://polylang.pro/doc/translating-pages-posts-categories-and-tags/Best regards,
IsmaelHi,
We did check it, but it is possible that you are using a shortcode or a custom plugin to embed the video. We are note exactly sure, which is why we asked. If you embed it directly using a video tag, then adding the preload attribute should help, as suggested previously.
Best regards,
IsmaelHi,
Unfortunately, this is not possible due to the following reason.
Video on most mobile devices can’t be controlled properly with JavaScript, so you can upload a fallback image which will be displayed instead. This image is also used if lazy loading is active.
You will have to upload a fallback image in place of the video on mobile view.
You could also hide the slider on mobile view and display an actual video element instead. Or use the Layer Slider element instead.
Best regards,
IsmaelHi,
Thank you for the clarification.
All I want is to stop the Block Editor from loading as I am only using the Classic Editor.
To remove the block library css, try to add this snippet in the functions.php file.
//Remove Gutenberg Block Library CSS from loading on the frontend function smartwp_remove_wp_block_library_css(){ wp_dequeue_style( 'wp-block-library' ); wp_dequeue_style( 'wp-block-library-theme' ); wp_dequeue_style( 'wc-block-style' ); // Remove WooCommerce block CSS } add_action( 'wp_enqueue_scripts', 'smartwp_remove_wp_block_library_css', 100 );
Glad to know that the site performance improved after blocking IPs.
Best regards,
IsmaelHi,
I want a user to click on “play”, then the video starts, but it does not play, it links
Thank you for the clarification. This is still an issue with the privacy options, which prevents videos from playing directly in the site when the privacy option is not accepted. Try to disable the privacy options temporarily or we suggested previously, try to set the Default Cookie Behavior to the first or second option, remove the cache and check the page again. The video should play directly in the site then without opening an external link.
Best regards,
IsmaelHi,
Unfortunately, we do not have access to the mail’s inbox, so we may need to do the login differently. Additional assistance from the plugin developers may be needed.
Best regards,
IsmaelHi,
We see this error in the console but it does not say exactly which function is calling the pause function, but there is a possible fix in the provided link.
Uncaught (in promise) DOMException: The play() request was interrupted by a call to pause(). https://goo.gl/LdLk22
// https://developers.google.com/web/updates/2017/06/play-request-was-interrupted
We have also found a log in the plugin’s frontend.js file.
ar P = function(b, d) { c(b).parents(".mg_box").hasClass("mgi_shown") ? (c(b).hasClass("mg_muted_autoplay") && d.setMuted(!0), console.log("test"), d.play()) : setTimeout(function() { P(b, d) }, 100) }; mg_audio_play
Did you add the console.log?
Best regards,
IsmaelHi,
This is not a matter of showing empty category names.
Sorry for the delay. I think you misunderstood what we have just said. The single post that belongs to the hidden category may or may not exist on initial load and will only be visible once you load more posts. Only then will the sort button display because the post that belong to that category now exists. Again, this is a limitation of the category sort buttons.
Best regards,
IsmaelMay 17, 2021 at 1:13 pm in reply to: Main menu not working properly for the first section of the page "Home" #1300725Hi,
I’d still like menu to disappear when I click it
Yes, we understand but unfortunately that is not how the mobile menu works. It stops the default behavior when it detects that the current position is the same as the target element. You could try and remove the condition that we mentioned above to alter the default behavior.
Best regards,
IsmaelHi,
Do I get it right that you can now provide a filter
No, the code above is the function that generates the breadcrumb schema. We cannot find any filter, or we are not sure how Yoast generates the context. Have you tried selecting a page as blog as they recommended above?
Best regards,
IsmaelHi,
Sorry for the delay. It is possible that the plugin does not recognize background images, which is how the images in the full screen slider are used. You could try optimizing the images instead of using webp, or use a different slider.
Best regards,
Ismael -
AuthorPosts