{"id":2489,"date":"2008-02-10T16:40:29","date_gmt":"2008-02-10T16:40:29","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/humanized-history-for-wordpress\/"},"modified":"2008-02-26T00:03:56","modified_gmt":"2008-02-26T00:03:56","slug":"humanized-history-for-wordpress","status":"publish","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/humanized-history-for-wordpress\/","author":16327,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"2008.02.10","stable_tag":"trunk","tested":"2.3.3","requires":"2.0","requires_php":"","requires_plugins":"","header_name":"Humanized History","header_author":"Charles Johnson","header_description":"","assets_banners_color":"","last_updated":"2008-02-26 00:03:56","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/projects.radgeek.com\/humanized-history-for-wordpress\/","header_plugin_uri":"http:\/\/projects.radgeek.com\/humanized-history-for-wordpress\/","header_author_uri":"http:\/\/projects.radgeek.com","rating":0,"author_block_rating":0,"active_installs":0,"downloads":1917,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["2007.10.08","2007.11.29","2008.02.10"],"block_files":[],"assets_screenshots":[],"screenshots":[]},"plugin_section":[],"plugin_tags":[35327,3918,243,3893],"plugin_category":[],"plugin_contributors":[],"plugin_business_model":[],"class_list":["post-2489","plugin","type-plugin","status-publish","hentry","plugin_tags-humanized-history","plugin_tags-interface","plugin_tags-pages","plugin_tags-usability","plugin_committers-radgeek"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/humanized-history-for-wordpress.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>This plugin implements a <a href=\"http:\/\/www.humanized.com\/weblog\/2006\/04\/25\/no_more_more_pages\">\"Humanized History\"<\/a> feature for WordPress\narchives, using some PHP glue on the back end and some unobtrusive\nJavaScript on the front-end. In JavaScript-enabled browsers, Humanized\nHistory eliminates the need for users to click on \"previous posts\" links to\nread back through your archives; instead, when users get near the bottom of\nthe current page of posts, the included JavaScript automatically displays\nmore posts for them at the bottom of the page, providing a magic endless\nscrollbar that scrolls through your entire archives, in place of traditional\npage chunking.<\/p>\n\n<p>Search robots and browsers without JavaScript enabled will see the same old\npages with previous page\/next page links, so you lose nothing in accessibility\nor friendliness to search engines.<\/p>\n\n<p>The plugin was inspired by the discussion of the concept by Aza Raskin at\n<a href=\"http:\/\/www.humanized.com\/weblog\/2006\/04\/25\/no_more_more_pages\">Humanized (2006-04-25): No More Pages?<\/a>. To see a sample of the feature as\nimplemented in WordPress, go to <a href=\"http:\/\/projects.radgeek.com\/\">http:\/\/projects.radgeek.com\/<\/a> and scroll down\ntoward the bottom of the page.<\/p>\n\n<p>Don't make your readers ask you for more content. <em>Just give it to them.<\/em><\/p>\n\n<h3>Templates and Styling<\/h3>\n\n<p>If your <code>index.php<\/code> and <code>archive.php<\/code> templates provide previous page \/ next\npage links at the bottom of the content, you will probably want to remove these\nlinks from your templates. The plugin automatically provides its own previous\npage \/ next page links at the bottom of the front page and archive pages.<\/p>\n\n<p>Many WordPress templates (including the default \"Kubrick\" template) display\nposts differently depending on whether they are in archives or in search\nresults. \"Kubrick,\" for example, doesn't display the post's contents in search\nresults. If you want to keep different formats for displaying archives as\nagainst search results, then use code something like this in your\n    template_post_display() function:<\/p>\n\n<pre><code>function template_post_display () {\n    if (is_search()) {\n    \/\/ display post for paged search results\n} else {\n    \/\/ display post for paged archives\n}\n}\n<\/code><\/pre>\n\n<p>You may also want to add some styling to your template's stylesheet for the\nnavigation links that the plugin automatically generates. Here is what I use to\ndisplay the \"older posts\" link at the far left side of the content column, and\nthe \"newer posts\" link at the far right side on the same line:<\/p>\n\n<pre><code>#content .navigation {\n    display: block; position: relative; list-style: none;\n    text-align: center;\n    margin-top: 10px; margin-bottom: 60px; margin-left: 0px; margin-right: 0px;\n    padding: 0;\n}\n\n#content .navigation .prev {\n    display: block; position: relative; list-style: none;\n    top: 0; bottom: auto; left: 0; right: auto; width: 45%;\n    margin: 0; padding: 0;\n    text-align: left;\n}\n\n#content .navigation .next {\n    display: block; position: absolute; list-style: none;\n    top: 0; bottom: auto; left: auto; right: 0; width: 45%;\n    margin: 0; padding: 0;\n    text-align: right;\n}\n<\/code><\/pre>\n\n<p>If you want to change the appearance of the \"Getting more content for you...\"\nstatus indicator, then add a rule to your CSS stylesheet for the class\n    humanized-history-getting-more. E.g., to create a dark translucent box that\nfloats over the footer material below:<\/p>\n\n<pre><code>.humanized-history-getting-more {\n    position: absolute;\n    width: auto; height: auto;\n    border: 3px solid #505050;\n    padding: 0.25em 1.0em;\n    background-color: #777777;\n    opacity: 0.85;\n    z-index: 10000;\n}&lt;h3&gt;Feedback&lt;\/h3&gt;\n<\/code><\/pre>\n\n<p>Comments, questions, applause, brickbats, and bug reports should be directed to\nCharles Johnson at <a href=\"mailto:&#116;&#x65;&#099;&#x68;n&#111;&#x70;&#104;&#x69;&#108;&#x69;&#x61;&#064;&#x72;&#097;&#x64;g&#101;&#x65;&#107;&#x2e;&#099;&#x6f;m\">&#116;&#x65;&#099;&#x68;n&#111;&#x70;&#104;&#x69;&#108;&#x69;&#x61;&#064;&#x72;&#097;&#x64;g&#101;&#x65;&#107;&#x2e;&#099;&#x6f;m<\/a>. Other ways to get in touch with\nme can be found through my web page at <a href=\"http:\/\/radgeek.com\/contact\">http:\/\/radgeek.com\/contact<\/a>. If you have\na bug or odd behavior to report, please be sure to include as much of the\nfollowing information as you can ascertain:<\/p>\n\n<ul>\n<li>The version of the Humanized History plugin you are using<\/li>\n<li>The version of WordPress you are using<\/li>\n<li>The version of PHP that you are using<\/li>\n<\/ul>\n\n<p>Enjoy!<\/p>\n\n<h3>License<\/h3>\n\n<p>The Humanized History for WordPress plugin is copyright \u00a9 2007-2008 by Charles\nJohnson. This program is free software; you can redistribute it and\/or modify it\nunder the terms of the <a href=\"http:\/\/www.gnu.org\/copyleft\/gpl.html\">GNU General Public License<\/a> as published by the Free\nSoftware Foundation; either version 2 of the License, or (at your option) any\nlater version.<\/p>\n\n<p>This program is distributed in the hope that it will be useful, but WITHOUT ANY\nWARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A\nPARTICULAR PURPOSE. See the GNU General Public License for more details.<\/p>\n\n<!--section=installation-->\n<p>Humanized History requires a working installation of WordPress. It has been\ntested with several versions of WordPress 2.x; I can't promise compatability\nwith older versions of WordPress, but if you've tried it successfully, I'd be\nglad to hear about it.<\/p>\n\n<p>To install the plugin:<\/p>\n\n<ol>\n<li><p>Create a subdirectory named <code>humanized-history<\/code> in the <code>plugins<\/code> directory of\nyour WordPress blog.<\/p><\/li>\n<li><p>Put copies of <code>humanized-history.js<\/code> and <code>humanized-history.php<\/code> in the\n   humanized-history subdirectory.<\/p><\/li>\n<li><p>Add a new function to your <code>functions.php<\/code> template file named\n   template_post_display(), which should display the contents of a single post\nhowever they are normally displayed on your blog's front page and archive\npages. (This should usually just be copied and pasted from the post loop of\nyour <code>index.php<\/code> template or your <code>archive.php<\/code> template.)<\/p><\/li>\n<li><p>In the WordPress Dashboard, go to Plugins and activate the Humanized History\nplugin.<\/p><\/li>\n<\/ol>","raw_excerpt":"Readers with JavaScript can scroll back automagically through your entire archives without &quot;older posts&quot; links.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/2489","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=2489"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/radgeek"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=2489"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=2489"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=2489"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=2489"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=2489"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=2489"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}