THIS PRODUCT WILL BE PUBLISHED SOON
This plugin uses the CurseForge API to get the latest mod updates and posts the changelogs on your WordPress site.
Features
- Fetch mod information from CurseForge.
- Automatically post mod changelogs to your WordPress site.
- Schedule daily updates to keep your site current with the latest mods.
Requirements
- WordPress 5.0 or higher
- PHP 7.4 or higher
- Composer (for installing dependencies)
Installation
-
Clone the Repository:
git clone https://github.com/0ne83/CF-Mod-Fetcher.git
-
Install Dependencies: Navigate to the plugin directory and run:
composer install
-
Activate the Plugin:
- Upload the plugin folder to the
/wp-content/plugins/
directory. - Activate the plugin through the 'Plugins' menu in WordPress.
- Upload the plugin folder to the
Configuration
-
Set Up API Key:
- Open the main plugin file
cf-mod-bot.php
. - Replace the placeholder in
define('API_KEY', '');
with your actual CurseForge API key.
- Open the main plugin file
-
Schedule Fetch Intervals:
- The plugin is set to fetch mod information every two minutes by default. You can change the interval by modifying the cron schedule in the plugin file.
Usage
-
Shortcode: Use the
[curseforge_mods]
shortcode in any post or page to manually trigger the mod fetch process and display the fetched mod information. -
Automatic Fetch: The plugin is designed to automatically fetch and post the latest mod updates daily.
License
This project is licensed under the MIT License. See the LICENSE file for details.