Site logo

Archived topic

How to add excerpt to page?

9 replies · Started by Vl on July 17, 2019

Viewing posts 1–10 of 10

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.

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

Looks good to me.

That's WordPress default function.

Thank you!

No problem :)

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

Elvin - you are awesome as always :)

Thanks!

No problem. Glad to be of any help. :D

This archived topic is closed to new replies.