{"id":168456,"date":"2023-01-11T06:40:14","date_gmt":"2023-01-11T06:40:14","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/year-updater\/"},"modified":"2024-02-20T02:32:21","modified_gmt":"2024-02-20T02:32:21","slug":"year-updater","status":"publish","type":"plugin","link":"https:\/\/pcd.wordpress.org\/plugins\/year-updater\/","author":14038381,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.3.2","stable_tag":"trunk","tested":"6.4.8","requires":"4.7","requires_php":"7.4","requires_plugins":null,"header_name":"Year Updater","header_author":"Ammanulah Emmanuel","header_description":"This plugin allows you to update the year in the titles of your posts to the current year.","assets_banners_color":"d9d9d9","last_updated":"2024-02-20 02:32:21","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/nabaleka.com","header_author_uri":"https:\/\/nabaleka.com","rating":0,"author_block_rating":0,"active_installs":10,"downloads":2539,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"smartkenyan","date":"2023-05-13 11:31:22"},"1.2.1":{"tag":"1.2.1","author":"smartkenyan","date":"2023-05-13 11:31:22"},"1.3.0":{"tag":"1.3.0","author":"smartkenyan","date":"2023-12-08 12:24:31"},"1.3.1":{"tag":"1.3.1","author":"smartkenyan","date":"2024-02-19 07:37:06"}},"upgrade_notice":[],"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":2846552,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":2846552,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-772x250.png":{"filename":"banner-772x250.png","revision":2846554,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0","1.2.1","1.3.0","1.3.1"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":2846552,"resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":2846552,"resolution":"2","location":"assets","locale":""}},"screenshots":{"1":"When you visit settings, year update, you get to input the current year screenshot-1.png","2":"A preview of how your posts will look after you update screenshot-2.png"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[1460,2519,523],"plugin_category":[],"plugin_contributors":[217075],"plugin_business_model":[],"class_list":["post-168456","plugin","type-plugin","status-publish","hentry","plugin_tags-title","plugin_tags-updater","plugin_tags-year","plugin_contributors-smartkenyan","plugin_committers-smartkenyan"],"banners":{"banner":"https:\/\/ps.w.org\/year-updater\/assets\/banner-772x250.png?rev=2846554","banner_2x":false,"banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/year-updater\/assets\/icon-128x128.png?rev=2846552","icon_2x":"https:\/\/ps.w.org\/year-updater\/assets\/icon-256x256.png?rev=2846552","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/year-updater\/assets\/screenshot-1.png?rev=2846552","caption":"When you visit settings, year update, you get to input the current year screenshot-1.png"},{"src":"https:\/\/ps.w.org\/year-updater\/assets\/screenshot-2.png?rev=2846552","caption":"A preview of how your posts will look after you update screenshot-2.png"}],"raw_content":"<!--section=description-->\n<p>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 2023 or previous years in the post titles with the current year.<\/p>\n\n<p>Updating year in blog post titles is an Old SEO trick that might give you a boost in the SERPS.<\/p>\n\n<!--section=installation-->\n<p>There are two ways to install Year Updater.<\/p>\n\n<ol>\n<li>Go to \"Plugins &gt; Add New\" in your Dashboard and search for: Year Updater<\/li>\n<li>Download the .zip from WordPress.org and upload the folder to the <code>\/wp-content\/plugins\/<\/code> directory via FTP.<\/li>\n<\/ol>\n\n<p>Option one is easy and faster.<\/p>\n\n<!--section=faq-->\n<dl>\n<dt id='do%20i%20need%20to%20keep%20the%20plugin%20after%20updating%20the%20year%3F'><h3>Do I need to keep the plugin after updating the year?<\/h3><\/dt>\n<dd><p>No, you don't. After you update, you can remove the plugin. The changes will remain on site.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.3.1<\/h4>\n\n<ul>\n<li>Improvement - Added custom post meta to reflect the change<\/li>\n<li>Improvement - Introduced batch processing to prevent timeouts on sites with many posts<\/li>\n<li>Fixed an issue where only 1 post was getting updated<\/li>\n<\/ul>\n\n<h4>1.3.0<\/h4>\n\n<ul>\n<li>Organized the main plugin file for better readability and maintenance.<\/li>\n<li>Refined the method for updating the year in post titles.<\/li>\n<li>Introduced namespace usage for better code organization and to avoid name conflicts.<\/li>\n<li>Modified the approach of querying posts to enhance performance, particularly for large datasets<\/li>\n<li>Minor code improvements<\/li>\n<\/ul>\n\n<h4>1.2.0<\/h4>\n\n<ul>\n<li>Better and faster code implementation<\/li>\n<li>Added a new settings page in the WordPress admin area for the plugin.<\/li>\n<li>Implemented a system to query all posts of a given type and display them on the settings page.<\/li>\n<li>Added functionality to update the year in post titles, edit the post's modified date, and add a post meta field 'year_updated' with the new year.<\/li>\n<li>Included error handling and success\/error notifications.<\/li>\n<li>Added a check to skip posts with the current year in their title.<\/li>\n<li>Added a message above the 'Update Posts' button to inform users that posts with the current year in their title will not be updated.<\/li>\n<\/ul>\n\n<h4>1.1<\/h4>\n\n<ul>\n<li>The preview.php file was updated to show a table of the old and new post titles rather than a list. <\/li>\n<li>The update.php file was updated only to 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.<\/li>\n<\/ul>\n\n<h4>1.0<\/h4>\n\n<ul>\n<li>Initial release<\/li>\n<\/ul>","raw_excerpt":"Change the year in the title easily with a click of a button. A WordPress plugin to update the titles of posts with a specific year in their title.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/168456","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=168456"}],"author":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/smartkenyan"}],"wp:attachment":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=168456"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=168456"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=168456"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=168456"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=168456"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=168456"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}