Site logo

Archived topic

Archive page content requirement per post

2 replies · Started by Jaakko Pöntinen on February 17, 2021

Viewing posts 1–3 of 3

Howdy :)

I'm making a category template for a CPT that has ACF fields in it. I'm getting the ACF fields beautifully inside the looped items.

However, if the CPT entry doesn't have anything in WP's default post editor, the entry won't show up in the archive page. The default post editor, in this case, is of no use, so I'd really not have to hack   in there just to get the posts to loop x)

All in all: How to remove the requirement of having editor content inserted to show the post in an archive loop?

Thanks.

No.

I'm just an idiot. I was using the page template for category template. No wonder nothing's there when... Nothing's there.

I think I also mixed up something else, too. Now everything works. archive-{slug}.php loops what it should.

Sorry. This post can get deleted.

Glad to hear you found the answer!

This archived topic is closed to new replies.