Introduction

If you create multiple pages using the Features or Services page templates, then assign them to a specific category and attempt to add direct links to the posts in your menu, the page title on the directly linked posts will inherit the last page created using the corresponding template. This is due to how the title is derived – if you have multiple parent pages, it has no way of knowing which one is the one set to the same category the post belongs to. What it can do is determine which category the post belongs to. When viewing the posts using the ajax format (the main view with the sidebar post links that do not reload the page) it can create this structure correctly. When you link directly to the post, you take the post out of that structure to where WordPress can only depend on its default hierarchy:

Page with no category set / page with category set / category /post name

The Solution