WordPress adding a news page with custom template loads wrong template

I am building a new website and trying to add a new page for news with a custom template. The only problem is that it does not load the template file I set it to load, instead it loads my homepage template. I figured it had something to do with the Template_Hierarchy but it seems i’m unable to find out or change the fact that it loads a wrong template file.

Things i use atm for news

Read More
Page:               News

Custom post type:   News

Taxomony tag:       News

Perhaps i should change something because they all use the same names.

The URL where I want the custom template to load is
http://www.website.com/news

I hope someone can help me out with this.

Thanks in advance.

Edit:
I’ve just noticed that also when I visit any other page that menu button gets highlighted(so you know you are on that page atm.) But when I visit the news page it highlights “Home”.

Related posts

Leave a Reply

2 comments

  1. From what you have mentioned, I think you should change the theme file name and check the template settings in WordPress Backend if you are able to view the template.

    For eg

    /*
    Template Name: News New
    */

    Thanks and Regards
    Shiva