joshlutton
Forum Replies Created
-
Adam,
Thanks very much for your post. Your code allowed me to get our site working correctly, too. I made one modification, which was to replace the “is_catalog_frontpage ()” function with “is_shopp_page ()”. Doing this fixed not only the store front page, but also other shopp pages like the cart, checkout, etc.
Here is the exact code I added to the function.php file in my child theme:
<?php /* * Function and filter to fix Shopp page titles when using WordPress SEO * */ function wpseo_title_exclude($wp_title) { if (is_shopp_page()) { $wp_title = get_the_title().' | '.get_bloginfo('name'); return $wp_title; } else return $wp_title; } add_filter('wpseo_title','wpseo_title_exclude'); ?>I also have the same problem with the author sitemap. I am using Co-Authors Plus as well, so it seems quite likely that’s where the conflict is.
However, I don’t really want to to give up the capability of having more than one author for a post. Does anyone know of another solution? Or it is possible to modify WordPress SEO for compatibility with Co-Authors Plus?