# How to show custom post for new single post template

**URL:** <https://forum.pinegrow.com/t/how-to-show-custom-post-for-new-single-post-template/5976>\
**Category:** Pinegrow WP\
**Created:** [December 1, 2021, 2:06pm UTC](https://forum.pinegrow.com/t/how-to-show-custom-post-for-new-single-post-template/5976 "2021-12-01T14:06:34Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![raywade90](https://avatars.discourse-cdn.com/v4/letter/r/b9e5f3/32.png) [@raywade90](https://forum.pinegrow.com/u/raywade90)\
**Post date:** [December 1, 2021, 2:06pm UTC](https://forum.pinegrow.com/t/how-to-show-custom-post-for-new-single-post-template/5976/1 "2021-12-01T14:06:34Z")

</div>

Hi Experts,

Can anyone show me how to display a custom post for single post template?  
 ![Ảnh chụp Màn hình 2021-12-01 lúc 21.04.58](https://canada1.discourse-cdn.com/flex036/uploads/pinegrow/original/2X/1/153513bc1bf17651a351065dccd69f91af830cac.png)

Thanks for your help!  
Best regards,

---

<div class="post-metadata">

**Author:** ![RobM](https://avatars.discourse-cdn.com/v4/letter/r/278dde/32.png) [@RobM](https://forum.pinegrow.com/u/RobM)\
**Post date:** [December 1, 2021, 7:59pm UTC](https://forum.pinegrow.com/t/how-to-show-custom-post-for-new-single-post-template/5976/2 "2021-12-01T19:59:54Z")

</div>

Hi @raywade90,  
To make a custom single post template

1. Create a new page
2. In the page setting modal chose to export as `single.php` or some more complex variation from the dropdown.
3. In the export options section check the "Use as post/page template  
4)give your template a name
4. define the post types  
Once you export there will be a template selection dropdown with your new template added.  
Cheers,  
Bob

---

<div class="post-metadata">

**Author:** ![raywade90](https://avatars.discourse-cdn.com/v4/letter/r/b9e5f3/32.png) [@raywade90](https://forum.pinegrow.com/u/raywade90)\
**Post date:** [December 9, 2021, 3:48am UTC](https://forum.pinegrow.com/t/how-to-show-custom-post-for-new-single-post-template/5976/3 "2021-12-09T03:48:27Z")

</div>

Hi RobM

Thanks you, but I want to show abc2 Post for new template.  
It’s mean:

- Default post for single Post: It’s Oke

> Abc2 post for new single post(new template for abc2 post)-\> when user click post of abc2 post → it’ll show single post(template) of acb2

Thanks and Regards.

---

<div class="post-metadata">

**Author:** ![RobM](https://avatars.discourse-cdn.com/v4/letter/r/278dde/32.png) [@RobM](https://forum.pinegrow.com/u/RobM)\
**Post date:** [December 9, 2021, 7:57pm UTC](https://forum.pinegrow.com/t/how-to-show-custom-post-for-new-single-post-template/5976/4 "2021-12-09T19:57:25Z")

</div>

Hi @raywade90,  
Okay, gotcha. So this will require an extra step or two.  
So you want to create your post template as above. Best practice would be to give it an export name of “single-abc\_2.php”.  
So the page settings for your post template would be:

 ![image](https://canada1.discourse-cdn.com/flex036/uploads/pinegrow/original/2X/2/239f13c38e6279db3303876bb25e173d366cf8a6.png)

You can change out the heading/footer if you want by checking the Master page checkbox.  
Next, on your main page, register the post type. I put my action on the body tag.

 ![image](https://canada1.discourse-cdn.com/flex036/uploads/pinegrow/original/2X/6/6ed856d19b5008a006e4f54d206ae58aa19a1200.png)  
Again, there are a number of options that you could change up.  
Once you export you may need to re-save your permalinks to get the new CPT to appear. In the template dropdown it will show “default template” and “ABC2 template”, but the default template will be the template that you defined, no need to change.  
If you need more help, let me know,  
Bob

---

<div class="post-metadata">

**Author:** ![raywade90](https://avatars.discourse-cdn.com/v4/letter/r/b9e5f3/32.png) [@raywade90](https://forum.pinegrow.com/u/raywade90)\
**Post date:** [December 14, 2021, 3:30pm UTC](https://forum.pinegrow.com/t/how-to-show-custom-post-for-new-single-post-template/5976/5 "2021-12-14T15:30:54Z")

</div>

😀 Thanks and Best regards
