Hello,
For a specific role, I need my CPT’s content to be in a “read only” mode.
To do that, I’ve hided the content editor and I’ve tempted to display the CPT’s content in a Piklist meta box with a classic loop :
if ( have_posts() ) {
while ( have_posts() ) {
the_post();
// CPT Content
the_content();
}
}
Unfortunately, it doesn’t works.
If I try with the_title() it works even out the loop.
Does someone has an idea to do that?