{"id":4962,"date":"2016-07-12T16:23:11","date_gmt":"2016-07-12T14:23:11","guid":{"rendered":"http:\/\/wppa.nl\/?page_id=4962"},"modified":"2021-11-07T14:30:51","modified_gmt":"2021-11-07T13:30:51","slug":"photo-of-the-day","status":"publish","type":"page","link":"https:\/\/wppa.nl\/de\/docs-by-subject\/admin-pages\/photo-of-the-day\/","title":{"rendered":"Photo of the day"},"content":{"rendered":"<p>There are many ways to configure the <em>Photo Of The Day<\/em> feature. From changing every pageload up to a static never changing picture. This page describes a convenient way for the situation where you know up front what photo should be shown on what day; in other words: every day has its own photo.<\/p>\n <div id=\"wppa-container-wrapper-1\" class=\"alignnone wppa-container-wrapper \" style=\"width:100%;clear:both;padding:0;position:relative;\"><div id=\"wppa-container-1\" style=\"width:100%;\" class=\"wppa-container wp-caption\"><div style=\"font-size:0;line-height:0\"><img id=\"ph-4968-1\" title=\"Photo of the day settings\" style=\"width:100%;margin:0;padding:0;border:none;\" alt=\"4968\" class=\"size-medium wppa-mphoto\" onload=\"wppaLazyLoaded++;wppaMakeLazyVisible(&#039;onload&#039;);\" onerror=\"wppaLazyLoaded++;\" decoding=\"async\" data-src=\"https:\/\/wppa.nl\/wp-content\/uploads\/wppa\/4968.jpg?ver=689\" data-stack=\"picture:296:functions:4223\"><\/div><div class=\"wp-caption-text\">Photo of the day settings<\/div><svg id=\"wppa-ajax-spin-1\" class=\"wppa-ajax-spin uil-default\" width=\"120px\" height=\"120px\" viewBox=\"0 0 135 135\" preserveAspectRatio=\"xMidYMid\" stroke=\"\" style=\"width:120px; height:120px; position:fixed; top:50%; margin-top:-60px; left:50%; margin-left:-60px; opacity:1; display:none; fill:#404040; background-color:transparent; border-radius:12px;\"><path d=\"M67.447 58c5.523 0 10-4.477 10-10s-4.477-10-10-10-10 4.477-10 10 4.477 10 10 10zm9.448 9.447c0 5.523 4.477 10 10 10 5.522 0 10-4.477 10-10s-4.478-10-10-10c-5.523 0-10 4.477-10 10zm-9.448 9.448c-5.523 0-10 4.477-10 10 0 5.522 4.477 10 10 10s10-4.478 10-10c0-5.523-4.477-10-10-10zM58 67.447c0-5.523-4.477-10-10-10s-10 4.477-10 10 4.477 10 10 10 10-4.477 10-10z\"><animateTransform attributeName=\"transform\" type=\"rotate\" from=\"0 67 67\" to=\"-360 67 67\" dur=\"2.5s\" repeatCount=\"indefinite\" ><\/path><path d=\"M28.19 40.31c6.627 0 12-5.374 12-12 0-6.628-5.373-12-12-12-6.628 0-12 5.372-12 12 0 6.626 5.372 12 12 12zm30.72-19.825c4.686 4.687 12.284 4.687 16.97 0 4.686-4.686 4.686-12.284 0-16.97-4.686-4.687-12.284-4.687-16.97 0-4.687 4.686-4.687 12.284 0 16.97zm35.74 7.705c0 6.627 5.37 12 12 12 6.626 0 12-5.373 12-12 0-6.628-5.374-12-12-12-6.63 0-12 5.372-12 12zm19.822 30.72c-4.686 4.686-4.686 12.284 0 16.97 4.687 4.686 12.285 4.686 16.97 0 4.687-4.686 4.687-12.284 0-16.97-4.685-4.687-12.283-4.687-16.97 0zm-7.704 35.74c-6.627 0-12 5.37-12 12 0 6.626 5.373 12 12 12s12-5.374 12-12c0-6.63-5.373-12-12-12zm-30.72 19.822c-4.686-4.686-12.284-4.686-16.97 0-4.686 4.687-4.686 12.285 0 16.97 4.686 4.687 12.284 4.687 16.97 0 4.687-4.685 4.687-12.283 0-16.97zm-35.74-7.704c0-6.627-5.372-12-12-12-6.626 0-12 5.373-12 12s5.374 12 12 12c6.628 0 12-5.373 12-12zm-19.823-30.72c4.687-4.686 4.687-12.284 0-16.97-4.686-4.686-12.284-4.686-16.97 0-4.687 4.686-4.687 12.284 0 16.97 4.686 4.687 12.284 4.687 16.97 0z\"><animateTransform attributeName=\"transform\" type=\"rotate\" from=\"0 67 67\" to=\"360 67 67\" dur=\"8s\" repeatCount=\"indefinite\" ><\/path><\/svg><\/div><\/div>\n<!-- End [wppa type=\"mphoto\" photo=\"4968\"] \/de\/wp-json\/wp\/v2\/pages\/4962 oc 1 16 queries in 29.7 ms. at 22:04. Max mem: 62.50 Mb. -->\n<p>Although you need a few steps to make this work as you want it to do, it is not difficult if you follow the next steps:<\/p>\n<ol>\n<li>Make sure you have your photos that are going to be used for the photo of the day in one single album. If needed, you can copy photos from other albums into this album. If you want to keep this album outside the regular (=generic) display of albums, set - on the <strong>Photo Albums -> Album Admin -> Edit<\/strong> page of this album - the <strong>Parent album<\/strong> to <strong>--- separate ---<\/strong><\/li>\n<li>Also on the <strong>Photo Albums -> Album Admin -> Edit<\/strong> page set the <strong>Photo order:<\/strong> to <strong>Order #<\/strong><\/li>\n<li>Now go to the <strong>Photo Albums -> Album Admin -> Seq<\/strong> page. Here you can drag and drop the photos to get them in the required sequence. They get the sequence number automaticly as soon as you move at least one photo. If the sequence is already good, move one to another place and back again.<br \/>\nGenerally speaking, photo sequence order numbers do not need to be consecutive and there may also be duplicates, but for this purpose you do want them neatly count up from zero onwards.<\/li>\n<li>Now go to the <strong>Photo Albums -> Photo of the day<\/strong> admin page. Select the album where the photos are in. <em>If you previously had any kind of virtual album selected here, you must select - start over - first!<\/em><\/li>\n<li>Now select at <strong>Display method:<\/strong> <strong>Change every<\/strong> and press <strong>Save changes<\/strong>!!<\/li>\n<li>Now select at Change every: <strong>day of ... is order#<\/strong>, week, month or year, whateven you want. The page will then reload, and you will see an extra line of text like: <em>Current day# = 5, offset = 0. Todays photo order# = 5.<\/em> and a preview of todays photo or the text <em>not found.<\/em><\/li>\n<li>To get the numbers synchronously, you may change the offset. The numbering circles around, so, if you selected 'week', an offset of 6 is equivalent to an offset of -1. Just try it and you will find out how to set this number. Note: Jan 1 is day nmber 0, The first day of the week (1) is defined at the wp <strong>Settings -> General<\/strong> admin page, Daynumber of the month is equal to what the calendar tells you.<\/li>\n<\/ol>\n\n","protected":false},"excerpt":{"rendered":"<p>There are many ways to configure the Photo Of The Day feature. From changing every pageload up to a static never changing picture. This page describes a convenient way for the situation where you know up front what photo should be shown on what day; in other words: every day has its own photo. Although <a href='https:\/\/wppa.nl\/de\/docs-by-subject\/admin-pages\/photo-of-the-day\/' class='excerpt-more'>[...]<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"parent":4942,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-4962","page","type-page","status-publish","hentry","post-seq-1","post-parity-odd","meta-position-corners","fix"],"_links":{"self":[{"href":"https:\/\/wppa.nl\/de\/wp-json\/wp\/v2\/pages\/4962","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wppa.nl\/de\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/wppa.nl\/de\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/wppa.nl\/de\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/wppa.nl\/de\/wp-json\/wp\/v2\/comments?post=4962"}],"version-history":[{"count":2,"href":"https:\/\/wppa.nl\/de\/wp-json\/wp\/v2\/pages\/4962\/revisions"}],"predecessor-version":[{"id":6812,"href":"https:\/\/wppa.nl\/de\/wp-json\/wp\/v2\/pages\/4962\/revisions\/6812"}],"up":[{"embeddable":true,"href":"https:\/\/wppa.nl\/de\/wp-json\/wp\/v2\/pages\/4942"}],"wp:attachment":[{"href":"https:\/\/wppa.nl\/de\/wp-json\/wp\/v2\/media?parent=4962"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}