Skip to main content
Flox Blog Beginner's Guide for Web Developers. 60% Off in Website Design & Development click here.

How to create a custom post template Custom Post Type UI WordPress plugin.

Hello friends, In this article i will not teach you how to create a custom post in Custom Post Type UI WordPress plugin.

So, first create a custom post, Now you will see that you have no potion to choose custom template.

Copy and paste the code on header part of your theme.

<?php
/*
 * Template Name: Featured Article
 * Template Post Type: post, page, custom_post_name
 */
  
 get_header();  ?>

Where you will see the custom_post_name just change to your custom post name.

 

 

Leave a Reply

avatar
  Subscribe  
Notify of
F