{"id":8,"date":"2008-10-22T21:08:01","date_gmt":"2008-10-22T19:08:01","guid":{"rendered":"http:\/\/blogs.igalia.com\/jaragunde\/?p=8"},"modified":"2008-10-22T21:08:01","modified_gmt":"2008-10-22T19:08:01","slug":"plugins-for-wordpress-mu-list-all-and-recent-posts","status":"publish","type":"post","link":"https:\/\/blogs.igalia.com\/jaragunde\/2008\/10\/plugins-for-wordpress-mu-list-all-and-recent-posts\/","title":{"rendered":"Plugins for WordPress-MU: &#8216;List all&#8217; and &#8216;Recent Posts&#8217;"},"content":{"rendered":"<p><a href=\"http:\/\/mu.wordpress.org\/\" target=\"_blank\">WordPress-MU<\/a> is an official modification for WordPress able to manage multiple blogs with a single installation. I have used it to set up a <a href=\"http:\/\/periodicos.edu.coruna.es\" target=\"_blank\">platform for school newspapers<\/a>, supported by the Council of Coru\u00f1a.<\/p>\n<p>I use the main page of the system as a summary of all the newspapers, showing the active blogs and the latest news produced on them. For that subject I found two useful plugins: <a href=\"http:\/\/wpmudev.org\/project\/List-All\" target=\"_blank\">List all<\/a> and <a href=\"http:\/\/wpmudev.org\/project\/Most-recent-posts---updated\" target=\"_blank\">Most recent posts<\/a>. As their name states, the first one lists the public blogs of the system and the second one extracts the latest news.<\/p>\n<p>I needed a more complex behavior from them, so I made some modifications. Basically, I replaced the two parameters that wrapped the list with a format string as used in printf-like functions. Now the user can control all the content inside the list item,  not only the beginning and the end.<\/p>\n<p>Here are the files. Hope they&#8217;re useful for someone!<\/p>\n<ul>\n<li><a id=\"p10\" href=\"http:\/\/blogs.igalia.com\/jaragunde\/files\/2008\/10\/recentposts.tar\">Modification of Recent posts plugin<\/a><\/li>\n<li><a id=\"p9\" href=\"http:\/\/blogs.igalia.com\/jaragunde\/files\/2008\/10\/list-all.tar\">Modification of List all plugin<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>WordPress-MU is an official modification for WordPress able to manage multiple blogs with a single installation. I have used it to set up a platform for school newspapers, supported by the Council of Coru\u00f1a. I use the main page of &hellip; <a href=\"https:\/\/blogs.igalia.com\/jaragunde\/2008\/10\/plugins-for-wordpress-mu-list-all-and-recent-posts\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":17,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,10,11],"tags":[13],"class_list":["post-8","post","type-post","status-publish","format-standard","hentry","category-intranet-education-coruna","category-web","category-wordpress","tag-edu-coruna"],"_links":{"self":[{"href":"https:\/\/blogs.igalia.com\/jaragunde\/wp-json\/wp\/v2\/posts\/8","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs.igalia.com\/jaragunde\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.igalia.com\/jaragunde\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.igalia.com\/jaragunde\/wp-json\/wp\/v2\/users\/17"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.igalia.com\/jaragunde\/wp-json\/wp\/v2\/comments?post=8"}],"version-history":[{"count":0,"href":"https:\/\/blogs.igalia.com\/jaragunde\/wp-json\/wp\/v2\/posts\/8\/revisions"}],"wp:attachment":[{"href":"https:\/\/blogs.igalia.com\/jaragunde\/wp-json\/wp\/v2\/media?parent=8"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.igalia.com\/jaragunde\/wp-json\/wp\/v2\/categories?post=8"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.igalia.com\/jaragunde\/wp-json\/wp\/v2\/tags?post=8"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}