[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"$f-aAK1jaHPHilaFeyV2Gyfp1b3L_HjArIPGxqnztNJUU":3},{"slug":4,"display_name":4,"profile_url":5,"plugin_count":6,"total_installs":7,"avg_security_score":8,"avg_patch_time_days":9,"trust_score":10,"computed_at":11,"plugins":12},"johnnyb","https:\u002F\u002Fprofiles.wordpress.org\u002Fjohnnyb\u002F",2,20,85,30,84,"2026-04-04T22:43:22.679Z",[13,37],{"slug":14,"name":15,"version":16,"author":4,"author_profile":5,"description":17,"short_description":18,"active_installs":19,"downloaded":20,"rating":21,"num_ratings":22,"last_updated":23,"tested_up_to":24,"requires_at_least":25,"requires_php":26,"tags":27,"homepage":32,"download_link":33,"security_score":8,"vuln_count":34,"unpatched_count":34,"last_vuln_date":35,"fetched_at":36},"dead-trees","DeadTrees","1.1","\u003Cp>DeadTrees is a WordPress plugin that allows you to share the books you’ve been reading with your readers.\u003C\u002Fp>\n\u003Cp>It’s slightly influenced by other “My Library” type of plugins, such as the whole Now Reading\u002FReloaded\u002FRedux group of plugins, but is a complete re-write using WordPress’s Custom Post Type features.\u003C\u002Fp>\n\u003Cp>I wrote Dead Trees because I want to post on my blog when I read a book, but only sometimes want to write about the book. Dead Trees lets me, (and you!), do that.\u003C\u002Fp>\n\u003Ch3>New in Version 1.1: Multiple Book Cover Sources\u003C\u002Fh3>\n\u003Cp>In version 1.1 book covers will be fetched from \u003Ca href=\"https:\u002F\u002Fopenlibrary.org\u002F\" rel=\"nofollow ugc\">OpenLibrary.org\u003C\u002Fa>, \u003Ca href=\"https:\u002F\u002Fwww.librarything.com\u002F\" rel=\"nofollow ugc\">LibraryThing\u003C\u002Fa>, or Amazon, depending on the settings, and what’s available where.\u003C\u002Fp>\n\u003Cp>If you have set your Amazon API credentials, you can choose to look for a cover at Amazon either first or last: first for people who are working on building affiliate income from Amazon, and have plenty of \u003Ca href=\"https:\u002F\u002Fdocs.aws.amazon.com\u002FAWSECommerceService\u002Flatest\u002FDG\u002FTroubleshootingApplications.html#efficiency-guidelines\" rel=\"nofollow ugc\">API quota\u003C\u002Fa>, or last for people who prefer to promote independent book sources or can’t or don’t want to use Amazon’s services.\u003C\u002Fp>\n\u003Cp>For non-Amazon book covers, OpenLibrary.org is checked first as it provides larger images than other options. If OpenLibrary.org doesn’t have a cover for a book and you have set a LibraryThing API key we will fall back to looking for a cover at LibraryThing.\u003C\u002Fp>\n\u003Cp>OpenLibrary.org does not require any API credentials or any special configuration.\u003C\u002Fp>\n\u003Ch3>How it works\u003C\u002Fh3>\n\u003Cp>To post a book that you read, you’ll go to the admin of your site and choose “Books” from the main menu. You can then enter the title of the book, the author’s name(s), ISBN, Amazon’s ASIN, (likely the ISBN), and, if you wish, you may write about the book, but you don’t have to if you don’t want to.\u003C\u002Fp>\n\u003Cp>Hit publish and the DeadTrees will grab the cover art from Open Library or Amazon and publish your book.\u003C\u002Fp>\n\u003Cp>You can also tag the book, just like a post. The pool of tags is shared between posts & books.\u003C\u002Fp>\n\u003Cp>Development is on GitHub at https:\u002F\u002Fgithub.com\u002Fjbeales\u002FDeadTrees\u003C\u002Fp>\n\u003Cp>Report issues at https:\u002F\u002Fgithub.com\u002Fjbeales\u002FDeadTrees\u002Fissues\u003C\u002Fp>\n\u003Cp>See the public side in action, with some custom templating: https:\u002F\u002Fjohnbeales.com\u002Fbooks\u002F\u003C\u002Fp>\n\u003Ch3>Thanks\u003C\u002Fh3>\n\u003Cp>Thanks to OpenLibrary.org and LibraryThing for providing open book cover data. APIs like these that share information make the independent web possible and fun.\u003C\u002Fp>\n\u003Ch3>Troubleshooting\u003C\u002Fh3>\n\u003Cp>If you get a 404 error when trying to view your first book post, visit the Permalinks page in the admin, (Settings > Permalinks), and please leave a comment on \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fjbeales\u002FDeadTrees\u002Fissues\u002F13\" rel=\"nofollow ugc\">Github issue #13\u003C\u002Fa> or post in the support forums on wordpress.org to let me know that the problem isn’t fixed yet.\u003C\u002Fp>\n\u003Ch3>Templating\u003C\u002Fh3>\n\u003Ch3>Template Tags\u003C\u002Fh3>\n\u003Cp>Dead Trees creates some template tags for you. Here are the important ones. If you want to see the not-so-important ones look in template_tags.php, they’re all there:\u003C\u002Fp>\n\u003Ch3>dt_bookbox()\u003C\u002Fh3>\n\u003Cp>Displays a box with the book’s cover art and links to buy it from Amazon.com, Amazon.ca, and Amazon.co.uk.\u003C\u002Fp>\n\u003Cp>Call dt_bookbox() inside the loop or pass it the post ID of a book.\u003C\u002Fp>\n\u003Cp>You can completely customize the output of dt_bookbox() by creating a file called deadtree-bookbox.php in your theme. You might want to copy deadtrees\u002Ftemplate\u002Fdeadtree-bookbox.php as a starting point.\u003C\u002Fp>\n\u003Ch3>dt_get_amazon_url($domain=’amazon.com’, $post_id=0)\u003C\u002Fh3>\n\u003Cp>Gets the Amazon affiliate URL for a book.\u003Cbr \u002F>\nChoose which site to link to with the first argument, (can be ‘amazon.com’ ‘amazon.ca’ or ‘amazon.co.uk’, defaults to ‘amazon.com’). If called in the loop the second argument is not required, but if you want to call this outside of the loop provide the post ID of a book as the second argument.\u003C\u002Fp>\n\u003Ch3>dt_get_bookbox_image($post_id=0)\u003C\u002Fh3>\n\u003Cp>Gets the cover art for a book. If called in the loop this function can, (and should), be called with no arguments. Uses wp_get_attachment_image() to get the image.\u003C\u002Fp>\n\u003Ch3>dt_get_bookbox_comment($post_id=0)\u003C\u002Fh3>\n\u003Cp>Gets an extra comment to display in the bookbox. You enter this in the admin in the box that you put the ASIN into. This should be called with no arguments in the loop, or passed the post ID of a book outside of the loop.\u003C\u002Fp>\n\u003Ch3>Template Files\u003C\u002Fh3>\n\u003Cp>Dead Trees introduces a new post type: dt_book, and a new taxonomy: dt_writer. This means that you can put a file into your theme called type-dt_book.php and it’ll be used in place of single.php, and you can add taxonomy-dt_writer.php and it’ll be used in place of tag.php. This way you can make your reading list look like a real library!\u003C\u002Fp>\n\u003Ch3>On Caching Plugins\u003C\u002Fh3>\n\u003Cp>If you use WP Super Cache, you’ll need to clear your cache, or turn off caching, when updating the design of the bookbox, (updating deadtree-bookbox.php), and when updating your Amazon Affiliate IDs. Once your changes are made just make sure the cache is clear and turn caching back on.\u003C\u002Fp>\n\u003Cp>I’m not sure about other caching plugins, but I suspect they’ll behave in a similar manner.\u003C\u002Fp>\n","Share the books you've read with your readers, family, & friends.  Never again receive a book you've already read as a gift!",10,4798,80,1,"2020-01-22T21:47:00.000Z","5.3.21","3.0","5.4",[28,29,30,31],"book","books","library","reading","http:\u002F\u002Fjohnbeales.com","https:\u002F\u002Fdownloads.wordpress.org\u002Fplugin\u002Fdead-trees.1.1.2.zip",0,null,"2026-03-15T15:16:48.613Z",{"slug":38,"name":39,"version":40,"author":4,"author_profile":5,"description":41,"short_description":42,"active_installs":19,"downloaded":43,"rating":34,"num_ratings":34,"last_updated":44,"tested_up_to":45,"requires_at_least":46,"requires_php":47,"tags":48,"homepage":52,"download_link":53,"security_score":8,"vuln_count":34,"unpatched_count":34,"last_vuln_date":35,"fetched_at":36},"flush-opcache-with-varnish","Flush Opcache with Varnish","1.1.2","\u003Cp>Flush Opcache with Varnish automatically flushes the PHP Opcache when one of the “Empty Cache” buttons that Mika Epstein’s excellent \u003Ca href=\"https:\u002F\u002Fwordpress.org\u002Fplugins\u002Fvarnish-http-purge\u002F\" rel=\"ugc\">Varnish HTTP Cache\u003C\u002Fa> creates are clicked.\u003C\u002Fp>\n\u003Cp>If the \u003Ca href=\"https:\u002F\u002Fwordpress.org\u002Fplugins\u002Fflush-opcache\u002F\" rel=\"ugc\">WP Opcache\u003C\u002Fa> plugin is installed it is used to flush the opcache to let the opcache be re-warmed according to your WP Opcache settings, (and you can turn off WP Opcache’s “Flush PHP Opcache” button from the Admin toolbar).\u003C\u002Fp>\n\u003Cp>If \u003Ca href=\"https:\u002F\u002Fwordpress.org\u002Fplugins\u002Fwp-super-cache\u002F\" rel=\"ugc\">WP Super Cache\u003C\u002Fa> is installed then the WP Super Cache cache will be cleared as well.\u003C\u002Fp>\n\u003Ch3>Support\u003C\u002Fh3>\n\u003Cp>Please request support in \u003Ca href=\"https:\u002F\u002Fwordpress.org\u002Fsupport\u002Fplugin\u002Fflush-opcache-with-varnish\" rel=\"ugc\">this plugin’s support forum\u003C\u002Fa> on wordpress.org. This way there is a public record of solutions that work for people.\u003C\u002Fp>\n\u003Ch3>Contributing\u003C\u002Fh3>\n\u003Cp>Please submit issues and Pull Requests to \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fjbeales\u002Fflush-opcache-with-varnish\u002Fissues\" rel=\"nofollow ugc\">the Github repository\u003C\u002Fa>.\u003C\u002Fp>\n","Flush Opcache with Varnish automatically flushes the PHP Opcache when one of the \"Empty Cache\" buttons that Mika Epstein's excellent Va &hellip;",1505,"2018-01-14T00:02:00.000Z","4.9.29","3.0.1","5.5.0",[49,50,51],"cache","opcache","varnish","","https:\u002F\u002Fdownloads.wordpress.org\u002Fplugin\u002Fflush-opcache-with-varnish.1.1.2.zip"]