PluginUs.Net - Business Tools for WooCommerce and WordPress

[realize your idea - make your dreams come true]

Support Forum

You need to log-in to create request (topic) to the support

Multiple meta description tags when using yaost seo plugin

The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday. If you have problems with registration ask help on contact us page please
If you not got email within 24~36 business hours, firstly check your spam box, and if no any email from the support there - back to the forum and read answer here. DO NOT ANSWER ON EMAILS [noreply@pluginus.net] FROM THE FORUM!! Emails are just for your info, all answers should be published only here.
The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday.

When using Yoast SEO plugin, as well as HUSKY - Products Filter Professional for WooCommerce plugin, to modify meta descriptions of filter pages, there are two meta description tags, as well as incorrectly filled Open Graph.

Hello

Please  describe  it  in  more  detail.  Drop  me  exact  link to the  issue

https://unitbud.com/uk/modulni-budynky/swoof/city-vinnytsia/
There are 2 description tags on this page, one from Yoast SEO plugin and one from HUSKY - Products Filter Professional plugin. The description from Yoast SEO is displayed in Open Graph.
I need to output one description from the HUSKY plugin.

Please paste your license key here - https://share.pluginus.net/image/i20230222134241.png -> https://share.pluginus.net/image/i20230222134511.png

Update  the  plugin  to latest  version - https://products-filter.com/how-to-make-auto-update-for-wordpress-plugins-and-themes-bought-on-envato

Added a license key and updated the plugin

Hello

Try  to  add in  functions.php:

add_filter('woof_seo_do_index', function($do_index,$url,$request){
if ($do_index) {
add_filter('wpseo_metadesc',function($do){
return false;
});
}
return $do_index;
},5,3);

Two descriptions are no longer displayed, but in the Open Graph markup (og:title and og:description) still pull values from the product catalog and not from custom tags from the plugin HUSKY. Also, the new version does not work for some reason with the plugin ACF, namely with the field repeater. After updating the plugin, the line $body_interior_rows = get_field('body_interior_rows') returns false, and after rolling back to the previous version of the HUSKY plugin, everything works again.

The problem with ACF is solved, but the problem with Open Graph remains.

Hello

Please  try  this code:

add_filter('woof_seo_do_index', function($do_index,$url,$request){
if ($do_index) {
$front_end = YoastSEO()->classes->get( Yoast\WP\SEO\Integrations\Front_End_Integration::class );

remove_action( 'wpseo_head', [ $front_end, 'present_head' ], -9999 );

}
return $do_index;
},5,3);

 

 

Well, that's not exactly the solution. It just removes the Open Graph markup and also removes the page title.

Hello

Yes, but  only when our plugin adds its meta data.