obokmaobao
Forum Replies Created
-
Not the dev but I believe this works. There are 2 filters for the meta description in the docs linked here, https://wpslimseo.com/docs/hooks/
slim_seo_meta_description_generated and slim_seo_meta_description. These will change the meta content and the og:description content
slim_seo_meta_description will modify the output directly without changing the metabox content.
slim_seo_meta_description_generated changes the generated content (Meta description generate as you type)
add_filter( 'slim_seo_meta_description_generated', function ( $description ){ $description = get_post_field('post_content', $post_id); return $description; } );
Also you might want to add in a conditional if is_product() since you are only targeting Woocommerce Products
CPT: Wares
Taxonomy: Wares CategoryI have managed to replicate the bug, and found out how it happens…
the breadcrumb does not show child terms if the child term is alphabetically greater than the parent term.This “correct” breadcrumb will not show because Pins is alphabetically greater than Lifestyle :
Home >> Wares >> Lifestyle >> Pins >> Post
Published post result:
Home >> Wares >> Lifestyle >> PostThis breadcrumb will show correctly because Cushions is alphabetically lesser than Lifestyle:
Home >> Wares >> Lifestyle >> Cushions >> PostIs there anyway this can be fixed?
- This reply was modified 2 years, 11 months ago by obokmaobao.
- This reply was modified 2 years, 11 months ago by obokmaobao.