Custom post types

Posted in: Newspaper
Post count: 13

Hello,

we are having some problems with custom post types.
We would like to know how we can create a template for this CPT using tag div.
Like wordpress default posts. There is an option in admin panel or a plugin for doing this?

Thanks

Post count: 35449

Hi,

Unfortunately the tagDiv Composer can not be use for custom post type, but you can make a custom post type using our guide from here -> https://forum.tagdiv.com/custom-post-type-support/
Here is a similar topic -> https://forum.tagdiv.com/topic/cpt-sidebar-not-appearing/

Hope this will help you!
Thank you for your understanding!

Post count: 13

Thanks!

The link of similar topic is broken!

Post count: 35449

Hi,

Let’s try to make a custom post template together:
1. Use the test plugin for CPT from here -> https://i.imgur.com/BjAAWBT.png
2. Use a child theme -> https://forum.tagdiv.com/the-child-theme-support-tutorial/
3. Copy in the root of child the files for the post template you want to have for custom post type, these files are in wp-content/plugins/td-standard-pack/Newspaper/parts/single for this example we’ll copy the post template 5 -> https://i.imgur.com/Th04S1m.png, copy these two files -> https://i.imgur.com/ngU6YIk.png in child root -> https://i.imgur.com/FNaF3gx.png
4. Rename the single template with the id of your CPT, in our case is -> https://i.imgur.com/cFxJj8b.png
5. Check the results

Hope this will help you!
Thank you!

Post count: 13

Hello,

we have issues with the footer in custom post template.
We configure a footer template in cloud templates section and set up in theme options. That footer is shown in all sections of site but not in our custom post template. We have added footer.php in child theme and the footer is broken.
Any help?

Thanks

Post count: 35449

Hi,

Please notice that the footer set with cloud template -> https://i.imgur.com/MzIzrQK.png can not be set in child theme, also is no need for this, therefore you can remove it from the child.

Thank you!

Post count: 13

If i delete footer.php from the child theme i dont see in custom post type template the same footer as in the rest of the site.
I need to asign that footer in the custom template?

Another problem we have is in tag div composer. We need to configure an ofsset in Post loop listing but the data is not saved.
tagdiv

Then we save and when we reload the page the data is unsaved.
Any help?

Thanks

Post count: 35449

Hi,

For me the footer is the same for CPT as for the rest of the website -> https://i.imgur.com/BiRlwtc.png -> https://i.imgur.com/S80VjT4.png -> https://i.imgur.com/k9Vrxby.png

For the problem with unsaving, make sure that you do not have a plugin conflict, please deactivate ALL plugins except tagDiv plugins, also if you are using child theme or cache plugin, deactivate them, clear all cache and try again.

Let me know the results!
Thank you!

Viewing 8 posts - 1 through 8 (of 8 total)
The forum ‘Newspaper’ is closed to new topics and replies.