• Hello all!

    I’m looking for a plugin that does something that the Yoast SEO plugin does, except kind of differently. The Yoast SEO plugin allows you to set a template for the meta title of your pages using wildcards (eg. “%%title%% %%page%% %%sep%% %%sitename%%”) however if you want to override that template for a specific page, you can just go in and change it for that page and it stays that way. Easy peasy.

    Now on one of my sites, I’ve made it so that the titles of the pages are followed by the current year by editing the page.php file (eg. <h1 class=”entry-title”><?php the_title(); ?> 2016</h1>). The problem is there are some pages that I would like to have a different year but with the way I’ve done it, there’s not really any way for me to achieve that. I would like to be able to go into these pages and set their page titles specifically such that it would override the title given by page.php

    Is it possible for me to somehow achieve this?

Viewing 1 replies (of 1 total)
  • Thread Starter mikeshinobi

    (@mikeshinobi)

    Ah I found out the solution – page templates. Been using WP for years now and never knew these existed! You learn something new every day, I suppose.

Viewing 1 replies (of 1 total)
  • The topic ‘Overriding title given by page.php?’ is closed to new replies.