WordPress Advanced News Feed

[advanced_news_feed]

=== Advanced News Feed ===
Tags: news, feed, api, newsapi, lazy load
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

A WordPress plugin that fetches news articles from News API and displays them with pagination and lazy loading.

== Description ==
Advanced News Feed allows you to fetch and display news articles from News API on your WordPress site. The plugin supports lazy loading for images and provides a user-friendly admin interface for configuration.

=== Features ===
– Fetch news articles from [NewsAPI.org](https://newsapi.org/).
– Lazy loading for improved performance.
– Pagination support.
– Admin interface for configuration.
– Manual and scheduled fetching of news articles.

== Installation ==
1. Upload the `advanced-news-feed` folder to the `/wp-content/plugins/` directory.
2. Activate the plugin through the ‘Plugins’ menu in WordPress.
3. Go to **News Feed** in the admin menu.
4. Enter your News API key and configure settings.
5. Use the `advanced_news_feed` shortcode to display the news feed.

== Shortcode ==
Use the `advanced_news_feed` shortcode to display the news feed.
**Optional Attribute:**
– `items_per_page`: Set the number of articles to display per page.
Example: `advanced_news_feed items_per_page=”5″`

== Frequently Asked Questions ==

= Where can I get a News API key? =
You can obtain a free API key from [NewsAPI.org](https://newsapi.org/).

= How often is the news feed updated? =
The plugin fetches articles automatically every 24 hours. You can also fetch articles manually from the admin settings page.

= How do I enable lazy loading? =
Lazy loading is enabled by default. Ensure that images in the feed have the `lazy` class.

= The feed is empty. What do I do? =
Check the following:
1. Ensure your API key is valid.
2. Check if the API is returning articles.
3. Verify the database table `wp_news_feed` contains data.

== Changelog ==
= 1.0.0 =
* Initial release.
* Fetch news articles from News API.
* Admin settings page with API key and pagination configuration.
* Manual and scheduled fetching.
* Frontend shortcode for displaying articles.

== Upgrade Notice ==
= 1.0.0 =
Initial release. Please configure your API key after installing the plugin.

== License ==
This plugin is licensed under the GPLv2 or later. See [GNU GPL](https://www.gnu.org/licenses/gpl-2.0.html) for details.

AZ Managed
IT Services llc

Contact us today to request a consultation and discover how our expert solutions can help your business thrive.