Hello,
You will see the file under the OceanWP > Partials > Single folder. In OceanWP, you need to add some code to create a CPT single post and archive template. Let me know if you need help with it.
Hello, thank you.
I would like some help to create the file please…
Follow the below steps to create custom post type template –
Let’s assume ‘book’ is the custom post type.
Step 1 – Create a folder inside the child theme and name it as per your need. ex – book
Step 2 – Arrange the files and folder inside the child theme as per your need.
Copy the oceanwp > partials > single folder files inside the child theme’s book folder.
Edit the copied files as per your need.
Step 3 – Now copy the singular.php file into the child theme and add the code to display the CPT.
-
This reply was modified 7 years, 3 months ago by
Amit Singh.