- This topic has 5 replies, 3 voices, and was last updated 5 months ago by sujeet.
-
AuthorPosts
-
April 12, 2024 at 4:22 am #334538CaseyDwayneParticipant
Unless I’m completely missing it there seems to be no way to set what page the excerpt or content block renders. They both seem to default to the latest post only.
April 12, 2024 at 6:33 am #334546sujapatiKeymaster@CaseyDwayne: Can you please provide me your URL so that it would be more clearer to check on your end?
April 13, 2024 at 10:08 am #334569CaseyDwayneParticipantI’m not sure why it matters but https://blog.caseydwayne.com/. I was able to accomplish this with a Query Loop but it feels unnatural and out of place. I’ll likely just copy the content and delete the page I was trying to pull from.
April 15, 2024 at 8:20 am #334664sujapatiKeymaster@CaseyDwayne: Sorry for the inconvenience but we are still unclear about your purpose of using excerpt and content block. If you want to add posts to your page, we have ‘recent blog posts’ pattern.
Please let us know.
April 16, 2024 at 11:28 am #334755CaseyDwayneParticipantWith Content Block I was expecting to be able to pull all non-template content from a page or a post.
With Excerpt I was expecting to pull a specific piece of non-template content from a page or post.
What is the functionality of these two block elements if not these?
April 17, 2024 at 2:34 am #334770sujeetKeymasterHello Casey,
Content Block is used for displaying all the content of any page/post which is used in the single post and page templates.
Excerpt Block is used for displaying certain number of words of the content from any post/page. And it is best to use in query loop and you can add read more link there for post/pages.
We have used Content Blocks in the single post and page templates and Excerpt Blocks in Blog templates under query loop in the theme.
Regards,
Sujeet
-
AuthorPosts
- You must be logged in to reply to this topic.