Custom post type layout with TD composer

Posted in: Newspaper
Post count: 36

Hey,

How can I change the layout of a CPT, for example with TagDiv Composer.

Thanks!

Post count: 23312

Hi,

Unfortunately, the CPT can’t be edited with TD Composer, sorry! By the way, using the TD Composer, please notice that you can create your own wanted post type using the Cloud Library template. Please check the following useful guide from here -> https://forum.tagdiv.com/tagdiv-cloud-library-plugin/

Thank you!

Post count: 36

Hey,
I sorry but I can’t find the explanation of Custom Post Types with the Cloud Library..?

Post count: 23312

Hi,

If you want to read more details about Custom Post Type, please check here -> https://forum.tagdiv.com/custom-post-type-support/ Also, please notice that the CPT cannot be used with Cloud Library Template, sorry!

Thank you!

Post count: 36

But why isn’t a CPT able to use TD-composer for the template? Because it’s now using a simple template that isn’t editable.

Post count: 36

Now I need to use a php file (template) to change the layout of the post type. I even get an error of wp_booster on the page with the next error:
td_api_base::mark_used_on_page : a component with the ID: tdb_template_27 is not set.
[ROOT_FOLDER]/wp-content/themes/Newspaper/includes/wp_booster/td_api.php

Post count: 23312

Hi,

This is the default functionality of WordPress. The CPT has another taxonomy and it will not work with our Cloud Template Library, sorry! In principle, the Cloud Template is a CPT which has been designed to works as expected with all the theme’s elements.

Thank you for your understanding!

Post count: 36

But what about the error I get on the templates.

td_api_base::mark_used_on_page : a component with the ID: tdb_template_27 is not set.
[ROOT_FOLDER]/wp-content/themes/Newspaper/includes/wp_booster/td_api.php

Post count: 35449

Hi,

Usually this errors appear when you have an cloud element from tagDiv Cloud Library and you deactivate this plugin, usually this is fixed by activate the plugin.
-> https://www.screencast.com/t/j9Khfou9dzs

Also please make sure that you do not have a plugin conflict, please deactivate all non theme plugins, also if you are using child theme or cache plugin, please deactivate them, clear all cache and try again.

Thank you!

Post count: 36

It’s only on the new post type that I made. Both plugins are turned on.

Post count: 35449

Hi,

Please make sure that you create the CPT like in our documentation, you can even try with our testing plugin -> https://forum.tagdiv.com/custom-post-type-support/

Thank you!

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