Can YOAST SEO fields be removed from custom post type [duplicate]

So as noted in the comments above, I found a solution and used this code to do it: function remove_yoast_metabox_reservations(){ remove_meta_box(‘wpseo_meta’, ‘reservation’, ‘normal’); } add_action( ‘add_meta_boxes’, ‘remove_yoast_metabox_reservations’,11 ); In this instance, “reservation” was my custom post type. And “wpseo_meta” was the ID of the metabox. So the same code can be used on any meta … Read more

is_plugin_active() returning false on active plugin

is_plugin_active() expects just the base name of the plugin as parameter: So use: is_plugin_active( ‘woocommerce/woocommerce.php’ ); The function will use the option ‘active_plugins’ which is a list of plugins paths relative to the plugin directory already. On a multi-site installation it will search in get_site_option( ‘active_sitewide_plugins’) too. As an implementation note: Avoid these checks. Some … Read more

WooCommerce store with ~30,000 products [closed]

I hate to mention this on WordPress.Stackexchange, but I would go with using Magento in place of WordPress. I love WordPress and use it on almost every website that I build, but it was not specifically made for e-commerce. Magento handles just about everything better in regards to e-commerce. I only tend to use WordPress … Read more