Skip to content

Enhanced excerpt handling#4545

Open
girishpanchal30 wants to merge 2 commits into
developmentfrom
bugfix/4508
Open

Enhanced excerpt handling#4545
girishpanchal30 wants to merge 2 commits into
developmentfrom
bugfix/4508

Conversation

@girishpanchal30

Copy link
Copy Markdown
Contributor

Check before Pull Request is ready:

Closes #4508

@girishpanchal30
girishpanchal30 requested a review from Copilot July 17, 2026 12:39
@girishpanchal30 girishpanchal30 added the pr-checklist-skip Allow this Pull Request to skip checklist. label Jul 17, 2026
@pirate-bot pirate-bot added the pr-checklist-complete The Pull Request checklist is complete. (automatic label) label Jul 17, 2026

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates archive rendering so manual excerpts follow Neve’s configured excerpt behavior.

Changes:

  • Trims manual excerpts to the configured length.
  • Applies configured read-more markup when truncating.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread inc/views/partials/excerpt.php
if ( has_excerpt() ) {
return apply_filters( 'the_excerpt', get_the_excerpt( $post_id ) );
$excerpt_more = apply_filters( 'excerpt_more', ' […]' );
$content = wp_trim_words( get_the_excerpt( $post_id ), $length, $excerpt_more );
@pirate-bot

pirate-bot commented Jul 17, 2026

Copy link
Copy Markdown
Collaborator

Plugin build for 63800c7 is ready 🛎️!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-checklist-complete The Pull Request checklist is complete. (automatic label) pr-checklist-skip Allow this Pull Request to skip checklist.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Manual post excerpts ignore archive Excerpt Length and omit Read More on Neve archives

4 participants