Skip to content

SharePoint Framework (SPFx) web part for a highly configurable and accessible Wordpress News Feed using your target site's REST API endpoint..

License

Notifications You must be signed in to change notification settings

austinjhunt/sharepoint-wordpress-feed-webpart

Repository files navigation

SharePoint Framework (SPFx) WordPress News Feed Web Part

This SharePoint Framework (SPFx) Web Part allows you to fetch and display posts from a WordPress site as a highly configurable news feed using the WordPress REST API. Users can filter posts by tags, categories, post title patterns, and date ranges. This component is ideal for SharePoint environments that need to embed dynamic blog content from a WordPress site.

✨ Features

  • 🔗 Connect to any WordPress site URL
  • 🏷️ Filter posts by tags and categories
  • 📆 Limit posts by date range (e.g., last 7 days)
  • 🔍 Filter post titles with regular expressions (wildcard matching)
  • ⚖️ Combine filters using AND / OR logic
  • 🔄 Refresh feed and clear feed settings with one click
  • 📃 Fully integrated with Fluent UI for a responsive SharePoint look and feel
  • 🖌️ Configure colors of nearly every UI element by choosing from your SharePoint site's theme color palette!

🛠️ Usage Demo - Screen Recording

demo-spfx-wp-rss-feed.mp4

Applies to

Prerequisites

For using:

  • Have a Wordpress site in mind that allows access to the /wp-json path for post consumption
  • Have a SharePoint Online site

For developing:

Solution

Solution Author(s)
sharepoint-wordpress-news-feed Austin Hunt, austinjhunt.com

Version history

Version Date Comments
1.0 April 03, 2025 Initial release

Disclaimer

THIS CODE IS PROVIDED AS IS WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.


Further Development

  • Clone this repository
  • Ensure that you are at the solution folder
  • in the command-line run:
    • npm install
    • gulp serve

About

SharePoint Framework (SPFx) web part for a highly configurable and accessible Wordpress News Feed using your target site's REST API endpoint..

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published