Site logo

Archived topic

Display whole small posts on archive page

18 replies · Started by Quested on November 8, 2022

Viewing posts 1–15 of 19

Hi Awesome people

I need your help again. My client is using "Daily Posts" Custom Post Type for small daily updates where she share small content update like we have on Twitter. She wants that these should appear in Archive Page same way on the actual post.
Example:
if shares a video link in post, it should show video. If she shares a image then image should appear in Archive Page.

I could have done this without using CPT. But she want that these small posts should show the time and date.
Can you guide me if its possible and how can I achieve this.

Hi there,

I'm not sure I understand your question, do you mean you want it to show the full content instead of the excerpt on the CPT archive?

I see that you are using a content template for the CPT archive, then you can add a dynamic content block (the icon is GP logo) in the content template.

Yes, I mean full post instead excerpt.

then you can add a dynamic content block (the icon is GP logo) in the content template.

Can you share any reference link or screenshot. Please

I got it now.
Thank you so much for your help.

Thanks again

Glad to hear that :)

Can you guide me to use content template on Homepage. Client wants to show latest daily posts on Homepage, please. I used the Generate Block's Image and Query Loop but its not showing videos like its showing on Archive Page.

Hi Quested,

The Front Page is a static page. You'll need a Query Loop Block as opposed to a Block Element - Content Template.

May we know what would be the difference between Latest Daily Posts and Latest Articles on the front page?

Also, can you provide the link to a specific archive page we can view that has a video?

My client is using “Daily Posts” Custom Post Type for small daily updates where she share small content update like we have on Twitter. She wants that these should appear in Archive Page same way on the actual post including image and video posts. I was able to achieve this by using Dynamic Content. But only for Archive Page.

As mentioned above that I used the Generate Block’s Image and Query Loop but there is no option in Query Block to show videos like its showing on Archive Page.

Exactly my question. How can I add Dynamic Content Block inside Query Loop Block

I used the Block Element for Archive Page. That's working alright. but how can I use Dynamic Content Block to show Custom Post Type on Homepage?

You can do so by adding the Query Loop Block through a Block Element - Hook. Hook it to after_header for instance. After which, you should be able to insert a Dynamic Content Block inside the Query Loop Block as I have done in the screenshot above.

This archived topic is closed to new replies.