My ‘post attributes’ is missing from my WordPress install

You have to add the following lines at the top of your post template file:

<?php
/*
 * Template Name: Featured Article
 * Template Post Type: post, page, product
 */

 get_header();  ?>

Of course replace “Featured Article” with your desired template name and the list of post types with the post types you want to use the template for.

Leave a Comment

tech