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

feat(Wordpress Node): Excerpt and Featured Media support for Posts #14033

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Etyamor
Copy link

@Etyamor Etyamor commented Mar 18, 2025

Summary

Added support for excerpt and featured_media fields in the WordPress Node, simplifying the post creation process. Previously, users had to rely on the HTTP Request Node to include these fields when creating or updating posts. This improvement makes the WordPress Node more user-friendly and efficient.
image

Related Linear tickets, Github issues, and Community forum posts

https://community.n8n.io/t/how-to-create-a-excerpt-for-a-wordpress-post/30366

Review / Merge checklist

  • PR title and summary are descriptive. (conventions)
  • Docs updated or follow-up ticket created.
  • Tests included.
  • PR Labeled with release/backport (if the PR is an urgent fix that needs to be backported)

@CLAassistant
Copy link

CLAassistant commented Mar 18, 2025

CLA assistant check
All committers have signed the CLA.

@Joffcom
Copy link
Member

Joffcom commented Mar 18, 2025

Hey @Etyamor

I am a big fan of this, are you able to add some tests so we can merge it?

@Joffcom Joffcom added node/improvement New feature or request community Authored by a community member tests-needed This PR needs additional tests labels Mar 18, 2025
@Etyamor
Copy link
Author

Etyamor commented Mar 18, 2025

@Joffcom

As I can see the whole WordPress node has no tests. I'm not sure that I can create them quickly and cover the whole node.

@Etyamor
Copy link
Author

Etyamor commented Mar 18, 2025

@Joffcom

In the future I want to contribute more in this node to make it more flexible with possibilities to CRUD media attachments, menus and other WordPress stuff following their REST API.

In this case I'm ready to cover this node with tests :)

@Joffcom
Copy link
Member

Joffcom commented Mar 20, 2025

Hey @Etyamor

You only need to really add a test for the bit you are changing all of the other tests can wait.

If you want I can add tests for the rest of the node so the groundwork is already there for this.

@Etyamor
Copy link
Author

Etyamor commented Mar 20, 2025

Hey @Joffcom

Okay, will do my best asap

@Etyamor
Copy link
Author

Etyamor commented Mar 20, 2025

Hey @Joffcom

I have added test

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
community Authored by a community member node/improvement New feature or request tests-needed This PR needs additional tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants