I may be missing the point, but you should name the Page as required when you Add New and use that name.
Thread Starter
Oldjim
(@oldjim)
You are missing the point
That doesn’t change the title at the top of the page which is set by the global settings
Are you after the title “Joan Scott -” and to be able to customize the description part of the title like “Exhibitions” so content is more relevant to the user depending what part of your site they are viewing ?
Whatever the title is that you are trying to show differently for certain content it could be done with a function and conditionals before needing to remove it completely then adding a unique header.
Thread Starter
Oldjim
(@oldjim)
That is exactly what I want to do – will look into “conditionals” as you suggest
I would suggest starting with the following in_category(), is_post_type_archive() and is_singular(). and don’t forget to set a default for any content that you may potentially miss or not wish to worry about changing for now.
If you need a more in depth example then you could look at something like a bootstrap breadcrumb to get a head start on things.
Anyways, good luck
Thread Starter
Oldjim
(@oldjim)
Reading through it appears that it may be possible to use the Custom Field option in WordPress but to do that I need to find the relevant php file for the page title area and that is where I have hit a brick wall
The resulting code from inspecting the element is Joan Scott – Dorset Artist
So ideally what I would want to do is to replace that with my required text on a page by page basis
This can be done using a Custom Field if I could change the relevant php file to pull the title from the custom field or would modifying the functions.php as advised here do it http://orbitingweb.com/blog/custom-seo-friendly-title-tags-wordpress/
I would of course do it via child theme
Thread Starter
Oldjim
(@oldjim)
I should have used the code tags as it changed it to a link which won’t work
<a class="site-title" href="http://localhost/joan/" title="Joan Scott - Dorset Artist | ">Joan Scott - Dorset Artist</a>
Thread Starter
Oldjim
(@oldjim)
Sorted
It was much easier than I thought
I just deleted the site title then added what I wanted at the top of the body using in-line css code