Skip to content

Enhanced excerpt handling#4545

Merged
selul merged 2 commits into
developmentfrom
bugfix/4508
Jul 21, 2026
Merged

Enhanced excerpt handling#4545
selul merged 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 🛎️!

@selul
selul merged commit 626aa8e into development Jul 21, 2026
13 of 14 checks passed
@selul
selul deleted the bugfix/4508 branch July 21, 2026 13:59
@pirate-bot

Copy link
Copy Markdown
Collaborator

🎉 This PR is included in version 4.2.9 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@pirate-bot pirate-bot added the released Indicate that an issue has been resolved and released in a particular version of the product. label Jul 22, 2026
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. released Indicate that an issue has been resolved and released in a particular version of the product.

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

5 participants