[Resolved] How to add excerpt to page?

Home Forums Support [Resolved] How to add excerpt to page?

Home Forums Support How to add excerpt to page?

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #960084
    Vl

    Hello!
    I need to add Excerpt to the page (just like it exists in the post). Can you tell me what code to write (I use Code Snippets plugin)?
    Thanks you.

    #960375
    Leo
    Staff
    Customer Support

    Hi there,

    I was able to find this on Google:
    https://www.wpentire.com/excerpt-field-in-wordpress-post-page/

    Let me know πŸ™‚

    #960393
    Vl

    Thank you, I also found this code:
    add_post_type_support (‘page’, ‘excerpt’);
    Is this code really correct, will it not break your theme?

    #960395
    Leo
    Staff
    Customer Support

    Looks good to me.

    That’s WordPress default function.

    #960427
    Vl

    Thank you!

    #960432
    Leo
    Staff
    Customer Support

    No problem πŸ™‚

    #1929527
    William

    Aloha,

    Can that ‘page excerpt’ then be called in for display via a GP Element?

    I only see …

    Title
    Post date
    Post author name
    List of terms
    Comments number
    Post meta
    Term meta
    Author meta

    … as available ‘dynamic options’ with a GB Headline block (set to P).

    Thanks πŸ™‚

    Bill

    #1929806
    Elvin
    Staff
    Customer Support

    Hi William,

    For the page excerpt, you can use the “Dynamic Content” block as shown here –
    https://share.getcloudapp.com/JruxmWdE

    #1931802
    William

    Elvin – you are awesome as always πŸ™‚

    Thanks!

    #1932067
    Elvin
    Staff
    Customer Support

    No problem. Glad to be of any help. πŸ˜€

Viewing 10 posts - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.