{"id":19894,"date":"2012-09-13T16:58:33","date_gmt":"2012-09-13T16:58:33","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/flickr-header\/"},"modified":"2012-09-17T19:48:56","modified_gmt":"2012-09-17T19:48:56","slug":"flickr-header","status":"publish","type":"plugin","link":"https:\/\/fr-ca.wordpress.org\/plugins\/flickr-header\/","author":9538222,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"0.3","stable_tag":"trunk","tested":"3.4.2","requires":"","requires_php":"","requires_plugins":"","header_name":"Flickr Header","header_author":"OwnLocal","header_description":"","assets_banners_color":"","last_updated":"2012-09-17 19:48:56","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"http:\/\/wordpress.org\/extend\/plugins\/flickr-header\/","header_author_uri":"http:\/\/www.ownlocal.com","rating":0,"author_block_rating":0,"active_installs":10,"downloads":6616,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[527,1096,1431],"plugin_category":[56],"plugin_contributors":[95240,95239],"plugin_business_model":[],"class_list":["post-19894","plugin","type-plugin","status-publish","hentry","plugin_tags-custom","plugin_tags-flickr","plugin_tags-header","plugin_category-social-and-sharing","plugin_contributors-mltsy","plugin_contributors-ownlocal","plugin_committers-mltsy"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/flickr-header.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>This WordPress plugin allows you to choose a photo from Flickr's collection of\nCreative Commons licensed photos, crop it, and use it as the header for your\nWordPress site.  You must setup your own Flickr API key to use it.<\/p>\n\n<p>This plugin is still in development, and has only been tested with the\nTwentyEleven theme.  There are several features that are not implemented,\nincluding deactivating a Flickr header.  As it is my first wordpress plugin, I\nexpect it will break for some people. If it does, please create an issue\nticket in the GitHub repository, where this project is maintained:<\/p>\n\n<p>https:\/\/github.com\/ownlocal\/flickr-header<\/p>\n\n<p>Or even better - submit a pull request! ;)<\/p>\n\n<h3>Usage<\/h3>\n\n<p>To use the plugin, you must have a flickr API key.  Sign up for one at:\nhttp:\/\/www.flickr.com\/services\/apps\/create\/apply<\/p>\n\n<p>You must decide whether you will be using the plugin for commercial or\nnon-commercial putposes, and choose the corresponding API key.<\/p>\n\n<p>Once your template is updated and you have your API key:<\/p>\n\n<h3>1. Enter your API key<\/h3>\n\n<h4>Option A) Regular Wordpress Installation<\/h4>\n\n<p>From your site's Dashboard, go to \"Appearance &gt; Flickr Header\", enter your API key and click \"Update API key\".<\/p>\n\n<h4>Option B) Multisite Installation<\/h4>\n\n<p>From the Network Dashboard, click \"Settings &gt; Flickr Header\", enter your API key and hit \"Update Key\"<\/p>\n\n<h3>2. Select an image<\/h3>\n\n<ol>\n<li>Go to \"Appearance &gt; Flickr Header\" from your site's dashboard<\/li>\n<li>Type a term in the search box to search for an image<\/li>\n<li>Click on an image to select it and hit \"Save Changes\"<\/li>\n<li>Adjust the crop box to your hearts desire, and hit \"Update Crop\"<\/li>\n<li>Load your site, and behold the beauty... or else, submit a bug report ;)<\/li>\n<\/ol>\n\n<!--section=installation-->\n<ol>\n<li>Install this plugin from the 'Plugins &gt; Install' page in WordPress.<\/li>\n<li>Activate the plugin for your site.<\/li>\n<li>Update your header template to support Flickr Header...<\/li>\n<\/ol>\n\n<p>To use it, simply add <code>&lt;?php flickr_header_html(); ?&gt;<\/code> in your header template\nto insert the header.<\/p>\n\n<p>It is possible to use this plugin along-side custom-headers (so you can choose\nwhich you want to use at any time).  Similarly to the custom-header in WP core,\nthere is a functionto test whether a Flickr header image is selected:\n    get_flickr_header_url(), which can be used to test the existence of a Flickr\nheader, and display it if it exists, or else use the WP custom header.<\/p>\n\n<p>Here is the recommended template code:<\/p>\n\n<pre><code>if ( get_flickr_header_url() ) {\n  flickr_header_html();\n} else {\n  \/\/Typical custom-header code:\n  $header_image = get_header_image();\n  if ( $header_image ) :\n  \/\/ ...\n}\n<\/code><\/pre>\n\n<!--section=changelog-->\n<h4>0.3<\/h4>\n\n<ul>\n<li>Added a network-wide API key setting<\/li>\n<li>Changed author and copyright to OwnLocal<\/li>\n<\/ul>\n\n<h4>0.2<\/h4>\n\n<ul>\n<li>Added cropping<\/li>\n<li>Finished initial attribution functionality<\/li>\n<li>Added necessary plugin readme file and comments<\/li>\n<\/ul>\n\n<h4>0.1<\/h4>\n\n<ul>\n<li>Initial admin, Flickr search and header display functionality<\/li>\n<\/ul>","raw_excerpt":"Choose a Creative Commons photo from Flickr, crop it, and use it as your header. Attribution is added automatically!","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/fr-ca.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/19894","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fr-ca.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/fr-ca.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/fr-ca.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=19894"}],"author":[{"embeddable":true,"href":"https:\/\/fr-ca.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/mltsy"}],"wp:attachment":[{"href":"https:\/\/fr-ca.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=19894"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/fr-ca.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=19894"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/fr-ca.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=19894"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/fr-ca.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=19894"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/fr-ca.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=19894"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/fr-ca.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=19894"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}