generated from devgeniem/tms-plugin-boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Mika
committed
May 25, 2022
1 parent
610bdde
commit ce2273f
Showing
1 changed file
with
15 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,16 @@ | ||
# TMS (Tampere Multisite) WordPress Plugin Boilerplate | ||
# TMS (Tampere Multisite) WordPress Plugin News importer | ||
|
||
This WordPress plugin fetches and imports news from tampere.fi. It creates a new Cron instance on init and calls it's hooks for scheduling news import twice a day. News are imported first to the main site of the network by WP Oopi plugin. After that news are imported or updated on their defined target sites. | ||
|
||
## Prerequisites/requirements | ||
|
||
* [OOPI WordPress plugin](https://github.com/devgeniem/wp-oopi) | ||
|
||
## Manually fetch and import news | ||
|
||
|
||
With the WP-CLI: | ||
|
||
``` | ||
wp news import | ||
``` |