Template setting is not saving in wordpress

I’m using a child theme. I want to override a template of base theme.
I created, articles-page.php which starts with:

<?php
/*
Template Name: Articles
*/

While creating a page in WordPress I can see my template listed in the Page Attributes widget to my right. The problem is, when I change my template setting to “Articles” and hit update. It still shows default. My change is not being saved, hence my template is not being loaded for that page.

Related posts

Leave a Reply

1 comment

  1. All you have to do is to copy the specific template file you want to alter from the parent theme into the child theme’s directory, then make your changes. The way WordPress works is when it looks for some template file, it looks in the child theme first, then it goes to the parent theme if the file it wants isn’t there.

    Copy the file as it is in child theme with same name. Later try editing the template.