Site logo

[Support request] CPT Archive not showing content

Home Forums Support [Support request] CPT Archive not showing content

Home Forums Support CPT Archive not showing content

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #2486086
    Tom

    Hi,
    I’ve created a CPT and followed your doc for creating the single and content page (https://docs.generatepress.com/article/setting-up-a-simple-custom-post-type/)

    However the archive of the post doesn’t display any posts. It shows the title of Archive: Presentations, and the code for each post is there. e.g:

    <article id="post-3292" class="post-3292 presentations type-presentations status-publish hentry" itemtype="https://schema.org/CreativeWork" itemscope="">
    	<div class="inside-article">
    		
    			<div class="entry-summary" itemprop="text">
    							</div>
    
    			</div>
    </article>

    My end goal is to present the presentations in 2 columns date descending.

    Thanks, Tom

    #2486488
    Ying
    Staff
    Customer Support

    Hi Tom,

    It sounds like something is wrong with the setup of your CPT template.

    If you are not familiar with coding, I would strongly recommend using a plugin like Custom Post Type UI to create CPT, it will make things much easier. I use it all the time instead of creating CPT using code 🙂

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.