开发者 |
RebelCode
jeangalea markzahra Mekku |
---|---|
更新时间 | 2021年4月26日 19:44 |
PHP版本: | 5.4 及以上 |
WordPress版本: | 5.6 |
版权: | GPLv3 |
Method 2:
- Go to the Plugins page in your WordPress site's dashboard.
- Click the "Add New" button.
- Search for "WP RSS Aggregator".
- When found, click on the "Install" button, then hit the "Activate" button once it has installed.
- Go to the RSS Aggregator menu item, then set up your feed sources, templates and general settings.
DISPLAYING THE FEED ITEMS Use the WP RSS Aggregator block or shortcode on any page or post to display the imported items. Shortcode:
- Click on the "Download" button above.
- Upload the wp-rss-aggregator.zip file to your site's
/wp-content/plugins/
directory via FTP.- Activate the WP RSS Aggregator plugin from the 'Plugins' section in your dashboard.
- Go to the RSS Aggregator menu item, then set up your feed sources, templates and general settings.
[wp-rss-aggregator]
Each block or shortcode can use any template and it can also have its own parameters, such as selecting which sources to display items from, the maximum number of items to display, whether to use pagination, which page to show, and more.
Shortcode example with parameters: [wp-rss-aggregator source="123" limit="5"]
It is advisable to use the 'HTML' view of the editor when inserting shortcodes with parameters.
USAGE WITHIN THEME FILES
Here are two examples of a function call from within a theme's files:
`
'8',
'source' => '5,9'
));
?>
`
OR
<?php do_shortcode('[wp-rss-aggregator]'); ?>
register_rest_route
being called incorrectly.1.41.0
to fix deprecation warnings on PHP version 7.4 and later.a
tag and the href
attribute on PHP 7.4reset()
expecting an array.