Howdy! How can we help you?
♻️ Updating KB Pages from Database
If you want to regenerate a Knowledge Base (KB) page based on updated database values, you can trigger the automatic process again by following these steps.
✅ Step-by-step Instructions
- Open your database using a tool like phpMyAdmin or Adminer.
- Navigate to the table
wp_plant_species. - Find the entry you want to update (you can search by the
english_namefield). - Set the value of the field
post_idto -1 (notNULLor0). - Save the change in the database.
- Now reactivate the plugin “Create KB Article from Plant Species Table” in your WordPress admin dashboard:
- Go to Plugins > Installed Plugins.
- Click Deactivate next to the plugin.
- Then click Activate.
- The KB article will be re-generated based on the updated database fields.
💡 Notes
- This method ensures the content is fully in sync with the database and prevents accidental manual edits on the WordPress side.
- It currently works for the table
wp_plant_speciesand will be extended to other data tables in the future (e.g., harvest logs, individual plants).