Community Forums › Forums › Archived Forums › Design Tips and Tricks › Custom page title for Portfolio projects page and Testimonials page? Centric Pro
- This topic has 6 replies, 2 voices, and was last updated 8 years, 1 month ago by Doug Edgington.
-
AuthorPosts
-
February 22, 2016 at 6:48 pm #179669mbt7070Member
I can't figure out how to change / customize the title of the pages that show all the testimonials & projects. It can't be that hard, but I have looked for solutions to this for well over an hour with no luck. I'm using the Centric Pro theme. This of course is only something that'd be done for a WordPress site that has the custom content types for Testimonials and Projects/Portfolio turned on. I'm not super advanced so I don't know right off the top of my head where I'd stick in the php to change this (and what that php would be) or whatever, that is if I have to.
These pages do have titles but they're defaults that begin with 'Testimonials . .' and 'Projects Archive . . ' . That's got to change for SEO reasons and besides my boss demands that these titles change. I'm stumped.
Any advice would be much appreciated.
February 23, 2016 at 1:37 am #179692Doug EdgingtonMemberAre you referring to custom post types for projects and testimonials? If so, do you plan to use the built in Genesis SEO settings or an SEO plugin like Yoast?
Doug Edgington
http://www.dougedgington.comFebruary 23, 2016 at 3:40 pm #179746mbt7070MemberWell I'm referring to those custom post types, yes. I'm open to using the Genesis SEO settings or the Yoast SEO plugin we have, whatever would work best for us. I just need to know how to change these titles of 'Projects' and 'Testimonials', when these pages show one project/testimonial after another just as blog pages show previews of one blog post after another.
February 23, 2016 at 4:34 pm #179755Doug EdgingtonMemberIf you have SEO Yoast enabled, Genesis SEO settings will be disabled. To adjust the CPT archive headings within SEO Yoast go to: SEO-->Titles & Metas -->Post Types-->Custom Post Type Archives
If you don't have Yoast enabled, you should be able to use the archive settings to apply Genesis SEO settings.
For the CPT called Projects, it would be located under Projects-->Archive Settings->Genesis SEO settings.
If you don't see the archive settings or seo settings, then you may need to enable support for these items for your custom post types.
Doug Edgington
http://www.dougedgington.comFebruary 23, 2016 at 4:43 pm #179756Doug EdgingtonMemberYou can enable support for Genesis SEO settings and Archive settings, by including them in your CPT declaration. An example is below.
'supports' => array( 'title', 'editor', 'author', 'thumbnail', 'excerpt', 'trackbacks', 'custom-fields', 'revisions', 'page-attributes', 'genesis-seo', 'genesis-cpt-archives-settings' ),
If you created the CPT's using a plugin and are not able to edit the declaration, you could try something like the following:
function my_custom_init() { add_post_type_support( 'projects', 'genesis-cpt-archives-settings' ); add_post_type_support( ‘projects’, ‘genesis-seo’ ); } add_action('init', 'my_custom_init');
Doug Edgington
http://www.dougedgington.comFebruary 24, 2016 at 4:56 pm #179832mbt7070MemberDoug - The first paragaph of your second to last response turned out to be just the solution I was looking for. Thank you very much!
February 25, 2016 at 12:20 am #179859Doug EdgingtonMember -
AuthorPosts
- The forum ‘Design Tips and Tricks’ is closed to new topics and replies.