{"id":189,"date":"2004-11-21T23:16:23","date_gmt":"2004-11-21T21:16:23","guid":{"rendered":"http:\/\/www.all-things-me.net\/blog\/archives\/2004\/11\/21\/show-all-sesame"},"modified":"2010-08-12T02:00:22","modified_gmt":"2010-08-11T23:00:22","slug":"show-all-sesame","status":"publish","type":"post","link":"https:\/\/www.all-things-me.net\/blog\/2004\/11\/21\/show-all-sesame","title":{"rendered":"Show all sesame!"},"content":{"rendered":"<p>I suddenly noticed the admin&#8217;s post editing page doesn&#8217;t show all the posts. It stupidly is affected by the number of posts shown on the blog&#8217;s index page which certainly isn&#8217;t the way it should be.<\/p>\n<p>On the WordPress forums I could find <a href=\"http:\/\/wordpress.org\/support\/3\/3438\">some<\/a> old <a href=\"http:\/\/wordpress.org\/support\/4\/2668\">posts<\/a> on the subject and a person there said he would post a patch when he gets around checking it.<\/p>\n<p>Well, I tried his idea (copy-pasting a code snippet from post.php to edit.php to reset some variables) but I couldn&#8217;t get it working. So, I made an &#8220;unprofessional&#8221; patch.<\/p>\n<p>I haven&#8217;t had more than 50 posts per month (that&#8217;s how the posts are categorized) so I added a variable to show 50 posts &#8220;per page&#8221; (there aren&#8217;t any pages, really). This is at the very top of edit.php:<\/p>\n<blockquote class=\"php\"><p>\n&lt;?php<br \/>\nrequire_once(&#039;..\/wp-includes\/wp-l10n.php&#039;);<br \/>\n$title = __(&#039;Posts&#039;);<br \/>\nrequire_once(&#039;admin-header.php&#039;);<br \/>\n<strong>$showposts=50;<\/strong><br \/>\n?&gt;<\/p><\/blockquote>\n<p>As the forum posts suggested, you might have to do something about the edit-comments.php too, but I have exactly 10 comments so far so I don&#8217;t know if all of the comments will show.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I suddenly noticed the admin&#8217;s post editing page doesn&#8217;t show all the posts. It stupidly is affected by the number of posts shown on the blog&#8217;s index page which certainly isn&#8217;t the way it should be. On the WordPress forums I could find some old posts on the subject and a person there said he [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[15,18],"tags":[],"class_list":["post-189","post","type-post","status-publish","format-standard","hentry","category-tweaks","category-wordpress"],"_links":{"self":[{"href":"https:\/\/www.all-things-me.net\/blog\/wp-json\/wp\/v2\/posts\/189","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.all-things-me.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.all-things-me.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.all-things-me.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.all-things-me.net\/blog\/wp-json\/wp\/v2\/comments?post=189"}],"version-history":[{"count":1,"href":"https:\/\/www.all-things-me.net\/blog\/wp-json\/wp\/v2\/posts\/189\/revisions"}],"predecessor-version":[{"id":1450,"href":"https:\/\/www.all-things-me.net\/blog\/wp-json\/wp\/v2\/posts\/189\/revisions\/1450"}],"wp:attachment":[{"href":"https:\/\/www.all-things-me.net\/blog\/wp-json\/wp\/v2\/media?parent=189"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.all-things-me.net\/blog\/wp-json\/wp\/v2\/categories?post=189"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.all-things-me.net\/blog\/wp-json\/wp\/v2\/tags?post=189"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}