Custom single post page

Hi,
How do I create a custom single post page? Is it just single.php and what file could I copy?

Thanks,
Rena

Hi Rena,

You can follow how the portfolio custom post was made.

There are two files,

wp-content/themes/x/framework/views/{STACK}/wp-single-x-portfolio.php
wp-content/themes/x/framework/views/{STACK}/content-portfolio.php

You may copy those files into your child theme, change the file names and modify the code as you like.

Thanks

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.