外掛說明
The Year Updater plugin allows you to update the titles of posts with a specific year in their title. For example, you can use the plugin to replace the year 2022 in the post titles with the currrent year.
螢幕擷圖
安裝方式
From your WordPress dashboard
Install from plugins menu
** Activate and Find it under Settings Menu**
Download the plugin files from the repository.
Upload the update-post-titles folder to the /wp-content/plugins/ directory.
Activate the plugin through the ‘Plugins’ menu in WordPress.
Go to the “Year Updater” menu in settings Menu of your WordPress dashboard to use the plugin.
Enter current year (The one you see in your title: e.g “Your Post TItle 2022”)
Click Preview and see how the new year will look like. If everything is ok, click update.
常見問題集
-
Do I need to keep the plugin after updating the year?
-
No, you don’,t after you update, you can remove the plugin. The changes will remain on site.
使用者評論
這個外掛目前沒有任何使用者評論。
參與者及開發者
變更記錄
1.1
- The preview.php file was updated to show a table of the old and new post titles rather than a list.
- The update.php file was updated to only update the post titles and not the post content. It was also updated to use the wp_update_post() function and the update_post_meta() function to update the post data and add a custom field to mark the post as updated. Inline documentation was added to both the preview.php and update.php files to explain the code and its purpose.
1.0
*Initial release