Search for: Log In Free Support [Resolved] Add post excerpt in elements header Home › Forums › Support › Add post excerpt in elements header This topic has 3 replies, 2 voices, and was last updated 7 months ago by Leo. Viewing 4 posts - 1 through 4 (of 4 total) Author Posts June 13, 2020 at 4:06 pm #1326824 Joshua I found a possible solution here under the 4th example: https://docs.generatepress.com/article/page-hero-examples/ However, whenever I add that PHP into my functions.php, I get an error. Should I be adding it somewhere else? I just want the post excerpt to display on my post header created in elements. I feel like the solution is probably right in front of me, but I’m completely missing it. Thanks! June 13, 2020 at 6:59 pm #1326891 LeoStaff Customer Support Hi there, I just tried using Code Snippets and didn’t get any issues: https://www.screencast.com/t/ufecPzwso Can you give it a shot? Let me know π Documentation: http://docs.generatepress.com/ Adding CSS: http://docs.generatepress.com/article/adding-css/ June 13, 2020 at 8:27 pm #1326921 Joshua aah! I must have done this before previously, the code was already in my functions.php except toward the beginning. That’s why it kept giving me errors. Thanks, Leo! June 14, 2020 at 8:29 am #1327530 LeoStaff Customer Support No problem π Documentation: http://docs.generatepress.com/ Adding CSS: http://docs.generatepress.com/article/adding-css/ Author Posts Viewing 4 posts - 1 through 4 (of 4 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In