{"id":103956,"date":"2019-05-14T15:02:08","date_gmt":"2019-05-14T15:02:08","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/wp-post-of-the-day\/"},"modified":"2021-04-28T22:03:45","modified_gmt":"2021-04-28T22:03:45","slug":"wp-post-of-the-day","status":"publish","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/wp-post-of-the-day\/","author":9114287,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0","stable_tag":"1.0","tested":"5.7.15","requires":"4.5","requires_php":"5.3","requires_plugins":"","header_name":"WP Post of the Day","header_author":"Micah Wood","header_description":"Displays a new post every day.","assets_banners_color":"","last_updated":"2021-04-28 22:03:45","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/www.paypal.me\/wpscholar","header_plugin_uri":"https:\/\/wordpress.org\/plugins\/wp-post-of-the-day\/","header_author_uri":"https:\/\/wpscholar.com","rating":5,"author_block_rating":0,"active_installs":50,"downloads":2174,"num_ratings":2,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0":{"tag":"1.0","author":"wpscholar","date":"2021-04-28 22:03:45"}},"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":2},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":2287955,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":2287955,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[171404,155029,50179,155028],"plugin_category":[],"plugin_contributors":[161669],"plugin_business_model":[],"class_list":["post-103956","plugin","type-plugin","status-publish","hentry","plugin_tags-daily-post","plugin_tags-different-post","plugin_tags-post-of-the-day","plugin_tags-post-rotation","plugin_contributors-wpscholar","plugin_committers-wpscholar"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/wp-post-of-the-day\/assets\/icon-128x128.png?rev=2287955","icon_2x":"https:\/\/ps.w.org\/wp-post-of-the-day\/assets\/icon-256x256.png?rev=2287955","generated":false},"screenshots":[],"raw_content":"<!--section=description-->\n<p>The <strong>WP Post of the Day<\/strong> plugin allows you to display a new post once a day.<\/p>\n\n<p>Using this plugin is simple:<\/p>\n\n<ol>\n<li>Install the plugin<\/li>\n<li>Activate the plugin<\/li>\n<li>On the page or post where you want to have a post display, add the <code>[wp_post_of_the_day]<\/code> shortcode where you want your post to appear.<\/li>\n<li>Save your changes.<\/li>\n<\/ol>\n\n<h4>Features<\/h4>\n\n<ul>\n<li>Works with custom post types<\/li>\n<li>No settings page, just an easy way for you to show a daily post on your site<\/li>\n<li>Clean, well written code that won't bog down your site<\/li>\n<\/ul>\n\n<!--section=installation-->\n<h4>Prerequisites<\/h4>\n\n<p>If you don't meet the below requirements, I highly recommend you upgrade your WordPress install or move to a web host\nthat supports a more recent version of PHP.<\/p>\n\n<ul>\n<li>Requires WordPress version 4.5 or greater<\/li>\n<li>Requires PHP version 5.3 or greater<\/li>\n<\/ul>\n\n<h4>The Easy Way<\/h4>\n\n<ol>\n<li>In your WordPress admin, go to 'Plugins' and then click on 'Add New'.<\/li>\n<li>In the search box, type in 'WP Post of the Day' and hit enter.  This plugin should be the first and likely the only result.<\/li>\n<li>Click on the 'Install' link.<\/li>\n<li>Once installed, click the 'Activate this plugin' link.<\/li>\n<\/ol>\n\n<h4>The Hard Way<\/h4>\n\n<ol>\n<li>Download the .zip file containing the plugin.<\/li>\n<li>Upload the file into your <code>\/wp-content\/plugins\/<\/code> directory and unzip<\/li>\n<li>Find the plugin in the WordPress admin on the 'Plugins' page and click 'Activate'<\/li>\n<\/ol>\n\n<!--section=faq-->\n<p>The <code>[wp_post_of_the_day]<\/code> shortcode supports a few attributes to give you more control over the results:<\/p>\n\n<ul>\n<li><p><strong>author<\/strong> - Provide an author ID or a comma-separated list of author IDs if you want to limit the selected posts to one of those authors. Example: <code>[wp-post-of-the-day author=\"1, 11, 14\"]<\/code><\/p><\/li>\n<li><p><strong>not<\/strong> - Provide a comma-separated list of post IDs to exclude. Example: <code>[wp-post-of-the-day not=\"3, 456, 876\"]<\/code><\/p><\/li>\n<li><p><strong>post_type<\/strong> - Provide a post type or a comma-separated list of post types to pull from. You must use the internal post type name. Default is <code>post<\/code>. Example: <code>[wp-post-of-the-day post_type=\"page\"]<\/code><\/p><\/li>\n<li><p><strong>search<\/strong> - Provide a custom search term to limit the selected posts returned.  Example: <code>[wp-post-of-the-day search=\"relativity\"]<\/code><\/p><\/li>\n<li><p><strong>taxonomy<\/strong> - Provide a custom taxonomy to pull from. Requires the <code>terms<\/code> attribute to be set as well. Example: <code>[wp-post-of-the-day taxonomy=\"post_tag\" terms=\"2,4\"]<\/code><\/p><\/li>\n<li><p><strong>terms<\/strong> - Provide a term ID or comma-separated list of term IDs to limit the selected posts returned. Requires the <code>taxonomy<\/code> attribute to be set as well. Example: <code>[wp-post-of-the-day taxonomy=\"post_tag\" terms=\"2,4\"]<\/code><\/p><\/li>\n<li><p><strong>class<\/strong> - Provide a custom class name for the wrapping HTML div. Example: <code>[wp-post-of-the-day class=\"my-custom-class\"]<\/code><\/p><\/li>\n<li><p><strong>size<\/strong> - Provide a registered image size to use for image display (optional, only takes effect if images are being shown). Example: <code>[wp-post-of-the-day size=\"thumbnail\"]<\/code><\/p><\/li>\n<li><p><strong>show<\/strong> - Provide a comma-separated list of post elements to display. You can also use a vertical pipe <code>|<\/code> character instead of a comma to separate items into columns. Options are: title, image, excerpt, content. Defaults to <code>title, image, excerpt<\/code>. Items will show in the order you provide. Note: If images are shown, only posts with featured images will be returned. Example: <code>[wp-post-of-the-day show=\"title, image\"]<\/code><\/p><\/li>\n<\/ul>\n\n<p>Keep in mind that any of these attributes can be combined as needed.  Example: <code>[wp-post-of-the-day author=\"19\" size=\"full\" not=\"2310\"]<\/code>.  Also, keep in mind that the shortcode can be used in text widgets.<\/p>\n\n<!--section=changelog-->\n<h4>1.0<\/h4>\n\n<ul>\n<li>Tested in WordPress version 5.2<\/li>\n<\/ul>","raw_excerpt":"Shows a new post every day.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/103956","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=103956"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/wpscholar"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=103956"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=103956"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=103956"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=103956"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=103956"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=103956"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}