Cannot get preview for CPT

Hello,

I created a CPT and a field group for that post type. Now, when I want to build a design in Cornerstone, I cannot get the post preview to even see the content from CPT in a Single layout.

I’m not sure what I did wrong. Login details is in secure note.

Hi @ofirdoo,

Thanks for reaching out.
I have checked and found that Aktivnosti is not enabled in Cornerstone > Settings > Permissions, as shown in the given screenshot. And now it is available in the cornerstone.

Thanks

Thank you.

I completely forgot about that part.

Hi @ofirdoo,

Glad that we are able to help you.

Thanks

Edit: nevermind. It seems it is working now.

Glad that things are well for you.

Hello again,

another question. Is it possible to automatically add a template in the layout assignment single to a new post instead of selecting it each time in Cornerstone?

At least add that option when editing CTP?

Best regards

Hello @ofirdoo,

I’d recommend creating a single layout and assigning it to your posts. To do this, go to Layout → Settings → Conditions, and set the condition to Post Type is Post. This will automatically apply the layout to all of your posts. Please refer to the screenshot below for reference.

In case you have not seen the doc on the conditions and assignment, please have a look at it to learn more about how to assign the layout to a post or custom post type.

Hope it helps
Thanks

Thank you.

Condition works with enabled CPT in Cornerstone.

You are most welcome, @ofirdoo

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.