Cloud templates in custom post types, possible?

Posted in: Newspaper
Post count: 15

Hello, can somebody tell me (not how, but if) if it’s possible to attach a cloud template to a custom post type? I have two custom post types, but I don’t see anyway of doing it.

Thank you in advance!

Post count: 27744

Hello,

Unfortunately, you can’t set a cloud template for the custom post type, the single post template from the cloud library is working on the “normal” post.

Thank you for your understanding!

Post count: 38

Is there any way at all to control CPT pages so? I have tried creating single-posttype.php and this removes the sidebar from the page.

Modifying the code to add a sidebar just returns a blank sidebar which is also pretty useless to me. I also find that the social share buttons vanish when I create a CPT .PHP file

I had made a call to dynamic_sidebar( ‘td-default’ ) but it comes back empty for this CPT page

Post count: 27744

Hello, @dano1066,

The single-post.php file you use does not show the sidebar because it is the default WordPress file and it has no sidebar.
In order to have a sidebar, please use the files from the standard pack =>wp-content/plugins/td-standard-pack/Newspaper/parts/single (copy both files loop-single and single_template), don’t forget to put them in the child theme so as not to lose them when you update the theme.

Thank you!

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