Forum Replies Created

Viewing 30 posts - 13,981 through 14,010 (of 66,623 total)
  • Author
    Posts
  • in reply to: Display tags in the footer of a blog article #1300877

    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,
    Ismael

    in reply to: Emedding spotify problem #1300875

    Hi,

    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,
    Ismael

    Hey 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,
    Ismael

    Hey 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,
    Ismael

    in reply to: Categories are not showing up in the breadcrumbs! #1300860

    Hey 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,
    Ismael

    in reply to: Enfold update for multiple licenses #1300852

    Hey 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,
    Ismael

    in reply to: Contact Form: sending titles #1300851

    Hey 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,
    Ismael

    Hey 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,
    Ismael

    in reply to: CPT UI + ACF with your theme #1300848

    Hi,

    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,
    Ismael

    in reply to: Change Woocommerce "Sale Text" into "%" #1300846

    Hi,

    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,
    Ismael

    Hi,

    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,
    Ismael

    in reply to: Enfold latest portfolio widget publish time #1300775

    Hey 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,
    Ismael

    Hey 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,
    Ismael

    Hi,

    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,
    Ismael

    in reply to: Blog Posts Displaying Incorrectly #1300761

    Hey 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,
    Ismael

    in reply to: Unable to update template enfold #1300760

    Hi,

    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,
    Ismael

    in reply to: custom post archive #1300755

    Hi,

    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,
    Ismael

    in reply to: Different header color for different categories #1300753

    Hi,

    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,
    Ismael

    in reply to: Portfolio Masonry – polylang – 3 sprachen #1300751

    Hi,

    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,
    Ismael

    in reply to: Pageload / Video #1300742

    Hi,

    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,
    Ismael

    in reply to: Home page full screen video #1300741

    Hi,

    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,
    Ismael

    in reply to: How to Stop Block Editor from Loading #1300739

    Hi,

    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,
    Ismael

    in reply to: Video does not play – it just links #1300738

    Hi,

    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,
    Ismael

    in reply to: Enfold theme & Memberpress #1300737

    Hi,

    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,
    Ismael

    in reply to: Video Playback Problem #1300736

    Hi,

    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,
    Ismael

    in reply to: Portefolio items are with odd behaviour #1300729

    Hi,

    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,
    Ismael

    Hi,

    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,
    Ismael

    in reply to: Breadcrumb issue #1300723

    Hi,

    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,
    Ismael

    in reply to: Webp support in Full screen slider and other places #1300721

    Hi,

    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

    in reply to: Video Playback Problem #1300291

    Hey Stefan,

    Thank you for the inquiry.

    The video is not playing automatically on our end, but it does not stop after playing it manually. What happens when you remove the webm version of the video and leave mp4?

    Best regards,
    Ismael

Viewing 30 posts - 13,981 through 14,010 (of 66,623 total)