Home › Forums › Support › Page Header Excerpts This topic has 10 replies, 3 voices, and was last updated 2 years, 5 months ago by Leo. Viewing 11 posts - 1 through 11 (of 11 total) Author Posts February 10, 2018 at 12:45 am #492757 Tiago Hi there, Is it possible to add the page/post excerpt into the page header add-on like {{post_excerpt}} (didn’t work for me) Thanks! February 10, 2018 at 9:46 am #493048 TomLead Developer Lead Developer Since it’s a metabox, you should be able to do this: {{custom_field.excerpt}} Let me know π March 14, 2018 at 3:55 am #519519 DavidStaff Customer Support Tom, cant get this to work. David March 20, 2018 at 1:38 pm #524874 John That didn’t work for me either. Is there some other way to get the page/post excerpt into the page header? March 20, 2018 at 10:17 pm #525105 TomLead Developer Lead Developer Just looked into this further. Unfortunately it doesn’t look like WP stores the excerpt metabox as a custom field. For now, you’d have to use the custom fields metabox. In a future version I’ll include an “excerpt” template tag. March 21, 2018 at 4:11 am #525242 John Ok thanks. Really enjoying the theme! March 21, 2018 at 10:29 am #525606 TomLead Developer Lead Developer Great to hear! π October 26, 2021 at 8:21 am #1976273 Alexander Hi Tom, wich future version you mean? October 26, 2021 at 8:39 am #1976304 DavidStaff Customer Support Hi there, this topic is really old – its not even related to the Header Element… but it never made the cut on any of the updates to it. This doc explains how to add one: https://docs.generatepress.com/article/page-hero-examples/#example-4 Or better still use the Block Element – Page Hero: https://docs.generatepress.com/article/block-element-page-hero/ It comes with a GP Dynamic Content Block that can display the Excerpt ( amongst other stuff ) October 26, 2021 at 11:18 am #1976474 Alexander Hi David, i just have to say…wow! Great. Does it work with custom post type as well and costum post type terms? Because i have a custom post type called “Tours” with “Custom Fields “Duration” and “Price” ->Block Element β Page Hero: Awesome! Alex October 26, 2021 at 11:36 am #1976497 LeoStaff Customer Support It should π Please open a new topic if you run into any issues. Thanks! Author Posts Viewing 11 posts - 1 through 11 (of 11 total) The topic ‘Page Header Excerpts’ is closed to new replies.