/ Documentation /Developers/How to Add Schema Markup on Subcategories

How to Add Schema Markup on Subcategories

Schema Pro allows you to Add Schema Markup on Subcategories of a parent category.

You will need to use bsf_target_rules_include_parent_taxanomy filter to be able to Add Schema on Subcategories.

Example: Add the following code to your functions.php file.

add_filter( 'bsf_target_rules_include_parent_taxanomy', 'my_function' );
function my_function( $bool ) {
return true;
}

It will apply parent category schema’s on subcategories.

Was this doc helpful?
What went wrong?

We don't respond to the article feedback, we use it to improve our support content.

Need help? Contact Support
On this page
Scroll to Top