🎉 Happy 4th of July! Get 15% off GP Premium with the discount code: 4THOFJULY2020

[Resolved] Show excerpt in page header

Home Forums Support Show excerpt in page header

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1136439
    Rodrigo

    Hello Tom and Leo,

    I am creating a Header Element for a Custom Post Type with Advanced Custom Fields. So far, so good, the {{custom_field.taxonomy}} works very well, although I need to figure out how to convert a ACF into a different element (for example, a URL into a font_awesome icon or youtube video).

    I want to show in the Header the excerpt of the CPT. I tried with the template tag the_excerpt but it doesn’t work. So, my question is:

    Is there a way to show the excerpt on the page Header?

    Would the above the best approach? I’m thinking perhaps is easier to create another ACF instead of using the extract.

    Thanks in advance

    #1136450
    Leo
    Staff
    Customer Support
    #1137463
    Rodrigo

    Thanks. I’ll try this. I ended up using a new ACF for this, but will try this method.

    #1138121
    Leo
    Staff
    Customer Support
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.