Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add excerpt to pages #772

Closed
albig opened this issue Nov 19, 2024 · 0 comments · Fixed by #783
Closed

Add excerpt to pages #772

albig opened this issue Nov 19, 2024 · 0 comments · Fixed by #783
Assignees
Labels
enhancement New feature or request

Comments

@albig
Copy link
Member

albig commented Nov 19, 2024

WordPress supports excerpts for posts. This excerpt is used by og:description and you can fine tune the description for search engines by setting the excerpt.

For pages this feature is disabled by default. This code enables the excerpt for pages:

add_post_type_support( 'page', 'excerpt');
@albig albig self-assigned this Nov 19, 2024
@albig albig added the enhancement New feature or request label Nov 19, 2024
@albig albig linked a pull request Dec 3, 2024 that will close this issue
@albig albig closed this as completed in #783 Dec 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant