Yes. I built a theme for my daughter’s site that uses about 10 custom post types used to segregate content mostly based on the post type. So based on the post type, when entering in the post we get to choose how that post is formatted. The page attributes on the editor page is how we choose. We saw your plugin and really like many of the features but like all users we want to control the exact format of the output.
Look at this plugin for how they did the custom types and the attributes. Custom Post Type UI https://ww.wp.xz.cn/plugins/custom-post-type-ui/
After you have created a custom post, you get to decide what fields are on the editor page for a post.
Thanks for the reply
FYI My site is at https://loreofthebooks.com/
Hello,
The plugin creates a rcno_review post type using the same builtin WordPress Custom Post Type API that plugin uses. If you look at https://plugins.trac.ww.wp.xz.cn/browser/recencio-book-reviews/trunk/admin/class-rcno-reviews-admin.php#L275 you see the same options as CPTUI as code.
If you want to add page-attributes to the supports parameter you can try using the rcno_review_cpt_options filter.
Thanks.. I’ll give that a try.
Meanwhile I found that I was not using single.php and the corresponding detail template for any of my pages. So I formatted that exactly like the review posts I was using.
Now I’ll create a new customer template. I saw one of your support posts that said to add a folder and inside the template. I see that your templates are named rcno_NAME
What folder name to use?
Your product is really great…. must have taken a fair amount of time to build it. I had started to spec out one for me to build, but your is already done. nice.
Hello,
Let me provide you with an example template for you to use, as I need to refresh my memory on how this feature works.
https://gitlab.com/w33zy/rcno_templates
Download this folder and place it inside your active theme. You can look at the builtin templates to see how I built them.
Thanks… I tried all sorts of combinations for the folder etc. nothing worked
Still 1 more issue… FYI my development in on Windows 10 while the live site is on Google as a Centos 7 linux version.
I placed the folder rcno_templates-master in the root of my theme. The template does not show up in the template list, just the five original. That I assumed wrong.
Then I took the folder rcno_example out and placed it too into my root folder of the theme. Still not showing up
Then I placed the rcno_example folder into your plugin public folder for your templates and it shows up. So….. I guess that the template page in your plugin is for some reason not getting the new templates in my root folder for some reason.
I’ll probably grab one of your provided templates and then mash it up once I can get it to install correctly.
If you are interested to see the site I’m working on ( it is my daughter’s ) https://loreofthebooks.com/
Thanks again. I really appreciate you support work. ( I know it is hard work as I just retired after nearly 50 years building software. )
Regards …
The folder at the root of your theme should be rcno_templates then inside that you’d have rcno_example
Working fine. Thanks
You need to fix the example you sent me in the template’s functions.php.
It is trying to use the plugins folder to load and register the styles for the new custom templates which of course that file does not exist. I couldn’t get the styles to load and finally I saw the plugin_dir_url( __FILE__ ) in the path for the styles in that function. Once I fixed it to the theme/rcno_templates/mycustomtemplate folder it was fine and the styles loaded.