{"id":203645,"date":"2024-09-17T18:18:31","date_gmt":"2024-09-17T18:18:31","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/sort-posts-by-last-update\/"},"modified":"2025-06-06T06:01:14","modified_gmt":"2025-06-06T06:01:14","slug":"sort-posts-by-latest-update","status":"publish","type":"plugin","link":"https:\/\/lmo.wordpress.org\/plugins\/sort-posts-by-latest-update\/","author":20626836,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.0","stable_tag":"1.0","tested":"6.8.5","requires":"5.0","requires_php":"7.0","requires_plugins":null,"header_name":"Sort Posts by Latest Update","header_author":"Saroj Meher","header_description":"Sorts posts by their latest update date on the homepage.","assets_banners_color":"9fdec7","last_updated":"2025-06-06 06:01:14","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"https:\/\/www.sarojmeher.com\/","rating":5,"author_block_rating":0,"active_installs":0,"downloads":821,"num_ratings":1,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0":{"tag":"1.0","author":"sarojmeher9","date":"2025-06-06 06:01:14"}},"upgrade_notice":{"1.0":"<p>Initial release.<\/p>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":1},"assets_icons":{"icon-128x128.jpg":{"filename":"icon-128x128.jpg","revision":3153524,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.jpg":{"filename":"icon-256x256.jpg","revision":3153524,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-1544x500.jpg":{"filename":"banner-1544x500.jpg","revision":3153524,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250.jpg":{"filename":"banner-772x250.jpg","revision":3153524,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0"],"block_files":[],"assets_screenshots":{"screenshot-1.jpg":{"filename":"screenshot-1.jpg","revision":3153524,"resolution":"1","location":"assets","locale":""}},"screenshots":{"1":"Homepage displaying posts sorted by latest update date."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[926,231847,166,4644,2552],"plugin_category":[],"plugin_contributors":[231848],"plugin_business_model":[],"class_list":["post-203645","plugin","type-plugin","status-publish","hentry","plugin_tags-homepage","plugin_tags-latest-update","plugin_tags-posts","plugin_tags-sort","plugin_tags-update","plugin_contributors-sarojmeher9","plugin_committers-sarojmeher9"],"banners":{"banner":"https:\/\/ps.w.org\/sort-posts-by-latest-update\/assets\/banner-772x250.jpg?rev=3153524","banner_2x":"https:\/\/ps.w.org\/sort-posts-by-latest-update\/assets\/banner-1544x500.jpg?rev=3153524","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/sort-posts-by-latest-update\/assets\/icon-128x128.jpg?rev=3153524","icon_2x":"https:\/\/ps.w.org\/sort-posts-by-latest-update\/assets\/icon-256x256.jpg?rev=3153524","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/sort-posts-by-latest-update\/assets\/screenshot-1.jpg?rev=3153524","caption":"Homepage displaying posts sorted by latest update date."}],"raw_content":"<!--section=description-->\n<p>Sort Posts by Latest Update is a simple WordPress plugin that modifies the main query on your homepage to sort posts by their latest update date. This ensures that the most recently updated posts appear first.<\/p>\n\n<h3>Support<\/h3>\n\n<p>For support, please contact us at <a href=\"http:\/\/www.sarojmeher.com\/contact\/\">http:\/\/www.sarojmeher.com\/contact\/<\/a>.<\/p>\n\n<h3>Author<\/h3>\n\n<p>Saroj Meher\nWebsite: <a href=\"http:\/\/www.sarojmeher.com\">www.sarojmeher.com<\/a><\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the <code>sort-posts-by-update<\/code> folder to the <code>\/wp-content\/plugins\/<\/code> directory.<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress.<\/li>\n<li>The plugin will now sort posts by their latest update date on the homepage.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id='how%20does%20this%20plugin%20work%3F'><h3>How does this plugin work?<\/h3><\/dt>\n<dd><p>The plugin hooks into the <code>pre_get_posts<\/code> action to modify the main query on the homepage, setting it to order posts by their latest update date in descending order.<\/p><\/dd>\n<dt id='is%20there%20any%20configuration%20required%3F'><h3>Is there any configuration required?<\/h3><\/dt>\n<dd><p>No, the plugin works out of the box with no additional configuration needed.<\/p><\/dd>\n<dt id='what%20if%20i%20want%20to%20sort%20posts%20by%20a%20different%20criteria%3F'><h3>What if I want to sort posts by a different criteria?<\/h3><\/dt>\n<dd><p>If you need to sort posts by a different criteria, you would need to modify the plugin code accordingly.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0<\/h4>\n\n<ul>\n<li>Initial release of the plugin.<\/li>\n<\/ul>","raw_excerpt":"Short Description:  A simple plugin to sort posts on the homepage by their latest update date.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/203645","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=203645"}],"author":[{"embeddable":true,"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/sarojmeher9"}],"wp:attachment":[{"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=203645"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=203645"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=203645"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=203645"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=203645"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=203645"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}