{"id":12138,"date":"2011-02-13T19:52:36","date_gmt":"2011-02-13T19:52:36","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/badge\/"},"modified":"2024-05-03T11:33:05","modified_gmt":"2024-05-03T11:33:05","slug":"badge","status":"publish","type":"plugin","link":"https:\/\/cor.wordpress.org\/plugins\/badge\/","author":6463,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.6","stable_tag":"trunk","tested":"6.5.8","requires":"6.0","requires_php":"","requires_plugins":null,"header_name":"Display Badge","header_author":"Eug\u00e9ne Roux","header_description":"","assets_banners_color":"","last_updated":"2024-05-03 11:33:05","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/damn.org.za\/widgets\/","header_author_uri":"https:\/\/damn.org.za\/","rating":0,"author_block_rating":0,"active_installs":80,"downloads":8291,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","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":{"screenshot-2.png":{"filename":"screenshot-2.png","revision":3080904,"resolution":"2","location":"plugin"},"screenshot-4.png":{"filename":"screenshot-4.png","revision":3080904,"resolution":"4","location":"plugin"},"screenshot-1.png":{"filename":"screenshot-1.png","revision":3080904,"resolution":"1","location":"plugin"},"screenshot-3.png":{"filename":"screenshot-3.png","revision":3080904,"resolution":"3","location":"plugin"}},"screenshots":{"1":"Create a \"Licensing\" badge that points to the Creative Commons website and uses a CC 88x31 banner","2":"The result of the configuration in No 1","3":"Boxing a Badge to SpreadFirefox with an added drop-shadow","4":"The resultant Badge"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[83,563,2306,10769],"plugin_category":[],"plugin_contributors":[85574],"plugin_business_model":[],"class_list":["post-12138","plugin","type-plugin","status-publish","hentry","plugin_tags-admin","plugin_tags-administration","plugin_tags-badges","plugin_tags-jadb","plugin_contributors-eroux","plugin_committers-eroux"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/badge.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/badge\/trunk\/screenshot-1.png?rev=3080904","caption":"Create a \"Licensing\" badge that points to the Creative Commons website and uses a CC 88x31 banner"},{"src":"https:\/\/ps.w.org\/badge\/trunk\/screenshot-2.png?rev=3080904","caption":"The result of the configuration in No 1"},{"src":"https:\/\/ps.w.org\/badge\/trunk\/screenshot-3.png?rev=3080904","caption":"Boxing a Badge to SpreadFirefox with an added drop-shadow"},{"src":"https:\/\/ps.w.org\/badge\/trunk\/screenshot-4.png?rev=3080904","caption":"The resultant Badge"}],"raw_content":"<!--section=description-->\n<p>Display \"Badges\" in the side-panel which points to a web-site and an image which is then used to build the \"badge\".<\/p>\n\n<p>To access the configuration you have to go to <strong><em>Appearance<\/em> &gt; <em>Widgets<\/em><\/strong> and edit the settings in the Panel.<\/p>\n\n<p>Using the Widget you can choose whether to:<\/p>\n\n<ol>\n<li>(Optionally) display a Title<\/li>\n<li>Link to a site<\/li>\n<li>Required link to an image to mark that site (any size will work, but the \"standard\" seems to be 88 pixels wide by 31 pixels high)<\/li>\n<li>Pad the Badge (including centring the text); some people may prefer using their own CSS, so this is an optional configuration.<\/li>\n<li>Enable \"Display Badge in a Box\" (enabled by default)<\/li>\n<li>Enable the Displaying of a Drop-Shadow<\/li>\n<\/ol>\n\n<p>If more control is needed, or more badges need to be displayed, the <a href=\"http:\/\/wordpress.org\/extend\/plugins\/badges\/\" title=\"Wordpress Plugin\">badges plugin<\/a> on the Wordpress site might be a better fit.<\/p>\n\n<!--section=installation-->\n<p><strong>Install<\/strong><\/p>\n\n<ol>\n<li>Unzip the <code>badges.zip<\/code> file.<\/li>\n<li>Upload <code>badges.php<\/code> to the <code>\/wp-content\/plugins\/<\/code> directory.<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress.<\/li>\n<li>Use the \"Badges\" widget.<\/li>\n<\/ol>\n\n<p><strong>Upgrade<\/strong><\/p>\n\n<ol>\n<li>Follow your normal installation process<\/li>\n<li>Open the Widget Control Panel for \"Badges\" and confirm settings.<\/li>\n<li>Sit back and enjoy...<\/li>\n<\/ol>\n\n<p><strong>Use the WordPress Plug-in System<\/strong><\/p>\n\n<ol>\n<li>Select \"Upgrade and Activate\"<\/li>\n<li>Congratulate yourself on a sterling job.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id='how%20do%20i%20style%20the%20badges%20using%20css%3F'><h3>How do I style the badges using CSS?<\/h3><\/dt>\n<dd><p>Quite simply by using the <code>div.badge<\/code> class.<\/p><\/dd>\n<dt id='how%20do%20i%20style%20a%20single%20badge%3F'><h3>How do I style a single badge?<\/h3><\/dt>\n<dd><p>Every badge gets a unique ID generated by the plug-in based on the plug-in's name and the badge's container ID. This will likely look something like \"inner-badge-[NUMBER]\".<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.5<\/h4>\n\n<ul>\n<li>Very minor update to update the links to my blog<\/li>\n<li>Tested up to WordPress 5.2.3<\/li>\n<\/ul>\n\n<h4>1.1<\/h4>\n\n<ul>\n<li>Minor update to add an \"id\" selector to the displayed badges<\/li>\n<\/ul>\n\n<h4>1.0<\/h4>\n\n<ul>\n<li>Initial Public Release<\/li>\n<\/ul>","raw_excerpt":"Display a badge (based the &quot;badges&quot;) without requiring file-system access or knowledge of HTML.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/cor.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/12138","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cor.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/cor.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/cor.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=12138"}],"author":[{"embeddable":true,"href":"https:\/\/cor.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/eroux"}],"wp:attachment":[{"href":"https:\/\/cor.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=12138"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/cor.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=12138"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/cor.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=12138"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/cor.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=12138"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/cor.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=12138"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/cor.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=12138"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}