• Is there a way to set meta descriptions template just for woo commerce products example I want to make my meta descriptions
    %blog_title% %category_title% Product title then some predefined text. also is their variable to use for displaying product title.is there away I can make it use product description but if no product description is available then use what I have described above.

    https://wordpress.org/plugins/all-in-one-seo-pack/

Viewing 2 replies - 1 through 2 (of 2 total)
  • you can actually set it to the option, not unless what you want to say is the meta description in social media option

    Hi playonmonkeys and omnimobile,

    It’s possible to customize descriptions with the aioseop_description hook; here’s an example:

    add_filter( 'aioseop_description', 'playonmonkeys_description_filter'  );
    function playonmonkeys_description_filter( $description ) {
    	if ( empty( $description ) && ( get_post_type() == 'product' ) ) {
    		return "My Blog | predefined text";
    	}
    	return $description;
    }
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Meta descriptions’ is closed to new replies.