Forum Replies Created
-
Dear, I check and I see that problem because the WCFMu add action in ‘the_content’ hook to display custom field. To fix your problem. please add update DHWC Page plugin to latest version from Codecanyon then custom PHP code to file functions.php of your theme
add_action('dhvc_woo_product_page_before_product_content',function(){ global $WCFMu; if(empty($WCFMu)){ return; } remove_action('the_content',array($WCFMu->wcfmu_customfield_support,'wcfm_custom_field_display_with_description'),25); }); add_action('template_redirect', function(){ remove_shortcode('dhvc_woo_product_page_description'); add_shortcode('dhvc_woo_product_page_description', function($atts, $content = null){ global $post; extract ( dhvc_woo_page_shortcode_atts ( array ( 'el_class' => '', 'css' => '', ), $atts ) ); $el_class .= dhvc_woo_page_get_shortcode_custom_css_class($css); ob_start (); global $WCFMu; if(!empty($WCFMu)){ add_action('the_content',array($WCFMu->wcfmu_customfield_support,'wcfm_custom_field_display_with_description'),25); } if(defined('DHVC_WOO_PRODUCT_PAGE_IS_FRONTEND_EDITOR')){ $content = $post->post_content; $content = apply_filters( 'the_content', $content ); echo str_replace( ']]>', ']]>', $content ); }else{ the_content(); } if(!empty($WCFMu)){ remove_action('the_content',array($WCFMu->wcfmu_customfield_support,'wcfm_custom_field_display_with_description'),25); } return !empty($el_class) ? '<div class="'.$el_class.'">'.ob_get_clean().'</div>' : ob_get_clean(); }); }); add_action('dhvc_woo_product_page_after_product_content',function(){ global $WCFMu; if(empty($WCFMu)){ return; } add_action('the_content',array($WCFMu->wcfmu_customfield_support,'wcfm_custom_field_display_with_description'),25); });
Best regards.
in reply to: Duplicated product custom fieldThis reply has been marked as private.in reply to: Background color partly covers blog postsYes. If you want do it, Please add custom CSS code on your site
.is-boxed-layout .site-layout { background: #fff; }
Best regards.
in reply to: Background color partly covers blog postsThis reply has been marked as private.in reply to: Duplicated product custom fieldDear, I check and I see that issues because you use WCFM Page display product custom fields (see attachment) Please check your site again.
Best regards.
Attachments:
You must be logged in to view attached files.in reply to: Duplicated product custom fieldThis reply has been marked as private.in reply to: DHWCPage & Nectar Salient theme issueDear, If you want use background in content for boxed layout. Please add custom CSS code on your site
.post__list.is-style-9 .post__item, .is-boxed-layout .site-layout{ background: inherit; }
Best regards.
in reply to: Background color partly covers blog postsThis reply has been marked as private.in reply to: DHWCPage – WooCommerce Page BuilderThis reply has been marked as private.in reply to: Format Email recievedThis reply has been marked as private.in reply to: Homepage – Slideshow video speedI don’t understand why it’s redirect in SEO, What is tools you use to test. please kindly give me tool. I will check to help you.
Best regards.
in reply to: Several 301 RedirectsDear, To fix your problem. I have add custom code in file
functions.php
of your theme (see attachment)Also, because the Salient theme dynamic load style by page content, but Salient theme not support HOOK to custom it. So, I need go to file
salient/includes/class-nectar-element-assets.php
and change codepublic static function locate($search_arr = '') { foreach( $search_arr as $string ) { if( strpos( self::$post_content, $string ) !== false || strpos( self::$portfolio_content, $string ) !== false || strpos( self::$woo_shop_content, $string ) !== false || strpos( self::$woo_taxonmy_content, $string ) !== false ) { return true; } // Templatera. foreach( self::$templatera_content as $template_content ) { if( strpos( $template_content, $string ) !== false ) { return true; } } } return false; }
To:
public static function locate($search_arr = '') { global $dhvc_single_product_template; foreach ($search_arr as $string) { if(!empty($dhvc_single_product_template) && strpos($dhvc_single_product_template->post_content, $string) !== false ){ return true; } if (strpos(self::$post_content, $string) !== false || strpos(self::$portfolio_content, $string) !== false || strpos(self::$woo_shop_content, $string) !== false || strpos(self::$woo_taxonmy_content, $string) !== false) { return true; } // Templatera. foreach (self::$templatera_content as $template_content) { if (strpos($template_content, $string) !== false) { return true; } } } return false; }
Now, Please clear cache and check your site again.
Best regards.
Attachments:
You must be logged in to view attached files.in reply to: DHWCPage & Nectar Salient theme issueDear, Please kindly send for me admin account and your problem URL via private reply, I will check details to help you.
Best regards.
in reply to: Calendar displaying at the bottomDear, I have install and switch your site to use Luxury child theme and add custom code to file functions.php of Luxury child theme. Now, please check your site again.
Best regards.
in reply to: Homepage – Slideshow video speedDear, to change add to cart button background when hover on single product page, you can use custom CSS to do it:
.woocommerce .product form.cart .single_add_to_cart_button:hover { background: #080808; border-color: #080808; }
and change text color use custom CSS :
.woocommerce .product form.cart .single_add_to_cart_button { color: #fff; }
Best regards.
in reply to: Change color buttons