Skip to content
Advertisement

Tag: cmb2

WordPress hide post from custom post-type on a single page

Initial situation custom post-type (projects)[projects.php] custom field (with cmb2)[projects.php] front-page.php What I want On my front-page is a section ( <div class=”m-rowteaser m-rowteaser–default”> ) what is displaying a random post from the post-type projects. There are some post that I don’t want to see at the front-page. Note: the post must be active because there is another page with these

Advertisement