WP News feed widget
WP News feed widget is a simple news feed widget, with pagination, to display the latest news on your website. It will display a list of your latest news titles, with the publication time (if today) or the publication date next to it. In the widget configuration, you can set the number of posts you
WP News feed widget is a simple news feed widget, with pagination, to display the latest news on your website. It will display a list of your latest news titles, with the publication time (if today) or the publication date next to it.
In the widget configuration, you can set the number of posts you want to include, the number of posts per page, chosse a style or disable the plugin’s css if you want to apply your own.
The widget is customizable through a lot of filters and actions hooks.
Screenshots & previews.
- 01Upload wp-news-feed-widget to the /wp-content/plugins/ directory
- 02Activate the plugin through the ‘Plugins’ menu in WordPress
- 03Go to ‘Appearance’ -> ‘Widgets’ and drop it in your desired widget zone to configure
Frequently asked questions.
What are the css classes to style the widget ?
/* Select category dropdown */ .wp-newsfw-select> .postform {}
/* pager wrapper */ .wpnewsfw-pager, .info_text {} /* pager items */ .page_link {} .active_page {} .no_more {} /* prev & next items */ .visually-hidden {} [dir=rtl] .visually-hidden {} .previous_link, .next_link {} /* list items */ .wp-newsfw-item {}
Why can’t I configure more options ?
Options & customization can be added with the filter & hooks available, or with the add-ons.
Filters
wpnfw_query_args (array) : Allows changing the main widget query args wpnfw_time_format (string) : Allows changing the time format displayed in the widget wpnfw_date_format (string) : Allows changing the date format displayed in the widget