• I am rebuilding my website using WordPress and Customizr and would like to use a different title on each page as used on the existing site https://www.joanscott.co.uk/
    Is this possible or am I going to need to remove the title from all the pages and use a unique header or doesn’t that work either
    One alternative is to locate some text above the menu but I suspect that won’t work
    If it isn’t possible then I will find a way round it by adding it into the body

Viewing 8 replies - 1 through 8 (of 8 total)
  • 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 https://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="https://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

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Unique Title on each page’ is closed to new replies.