Forums

[resolved] 2 different blog indexes. Issue with single blog post page title (1 post)

  1. napalm
    Member
    Posted 1 year ago #

    Hi Everyone.

    I have created 2 different blog indexes on my site using categories.

    I have a blog index named 'News' and another called 'Careers'.

    The blog indexes are working fine.
    I duplicated the 'catagory.php' template (news-catagory.php + careers-catagory.php) and added a query to pull out the right catagory posts on both.

    My issue is, when I view the full article of a Career post by clicking on it's title, the title of the page reads 'News' instead of 'Careers'.

    When you view the 'News' index and then a 'News article', the page title stays as 'News' which is expected.

    How can I modify the templates to keep the same page title the two catagories?

    Do I need to create another 'single.php' template just for careers? If so, how would I tell the index loop to use that template if the Careers category has been chosen?

    Any help is appreciated.
    Thanks in advance

Topic Closed

This topic has been closed to new replies.

About this Topic