Yoast SEO
[Plugin: WordPress SEO by Yoast] Add tag for page parent title (1 post)

  1. Enrico
    Posted 5 years ago #


    could you please add tag to display page parent title?
    something like %%pageparenttitle%%

    I've installed Ninja Page Categories and Tags plugin to add category and tags to page (that should be a built-in feautre in wp btw).

    However I have these pages
    Discography (category: discography)

    Initially I had set these tags for Page's title template:
    %%category%% - %%title%% - %%sitename%%

    But when I'm in 'Category' page
    The title is of course: "Discography - Discography"
    It works fine for the very first child page "Discography - Album" 'cause it takes page's category.

    However when I'm on an album page it looks like "Discography - album1" instead of "Discography - Album - album1"

    So, adding %%pageparenttitle%% would fix it. Thanks.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Yoast SEO
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic