woocommerce shop title
-
hey guys,
I know this has been asked previously and also answered by peter, but it was a little confusing as he customized the answer to another persons question.
basically, I would like to change the title and description of my woocommerce shop page.
this is the code that needs to be used:
add_filter( 'aioseop_title', 'melanie_woocommerce_title' ); function melanie_woocommerce_title( $title ) { if ( is_post_type_archive( 'product' ) ) { return "My Product Page"; } return $title; } add_filter( 'aioseop_description', 'melanie_woocommerce_description' ); function melanie_woocommerce_description( $description ) { if ( is_post_type_archive( 'product' ) ) { return "My Product Page Description"; } return $description; }
but as you can see, he used name specific code, and I am just confused as to what needs to be changed in order to make this work for me.
Thanks
- The topic ‘woocommerce shop title’ is closed to new replies.