{"id":23817,"date":"2013-09-25T06:37:55","date_gmt":"2013-09-25T06:37:55","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/wp-bloginfo-shortcode\/"},"modified":"2013-09-25T06:38:05","modified_gmt":"2013-09-25T06:38:05","slug":"wp-bloginfo-shortcode","status":"publish","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/wp-bloginfo-shortcode\/","author":3111726,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0","stable_tag":"trunk","tested":"3.6.1","requires":"3.0","requires_php":"","requires_plugins":"","header_name":"Bloginfo Shortcode","header_author":"Store Machine Inc.","header_description":"","assets_banners_color":"","last_updated":"2013-09-25 06:38:05","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/github.com\/ethanpil\/wp-bloginfo-shortcode","header_author_uri":"http:\/\/storemachine.com","rating":5,"author_block_rating":0,"active_installs":700,"downloads":2556,"num_ratings":1,"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":"1"},"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":[13157,80],"plugin_category":[43],"plugin_contributors":[80173],"plugin_business_model":[],"class_list":["post-23817","plugin","type-plugin","status-publish","hentry","plugin_tags-bloginfo","plugin_tags-shortcode","plugin_category-customization","plugin_contributors-ethanpil","plugin_committers-ethanpil"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/wp-bloginfo-shortcode.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>This plugin adds a shortcode [blog] to pull info from like the template tag bloginfo(). Its very simple to use and supports the same values as bloginfo().<\/p>\n\n<p>Why a shortcode and not the function in PHP? Sometimes I need to implement slight variations of the same site. This allows me to have the values propagate into the post content as needed without remembering every place that needs changes.<\/p>\n\n<p>Its used like this:<\/p>\n\n<pre><code>[blog info=\"name\"] \n<\/code><\/pre>\n\n<p>This is the equivalent of the following in PHP:<\/p>\n\n<pre><code>bloginfo('name');\n<\/code><\/pre>\n\n<p>Here are some example uses:<\/p>\n\n<pre><code>[blog info=\"name\"] - Displays the \"Site Title\" set in Settings &gt; General.\n[blog info=\"description\"] - Displays the \"Tagline\" set in Settings &gt; General.\n[blog info=\"wpurl\"] - Displays the \"WordPress address (URL)\" set in Settings &gt; General.\n[blog info=\"url\"] - Displays the \"Site address (URL)\" set in Settings &gt; General.\n[blog info=\"admin_email\"] - Displays the \"E-mail address\" set in Settings &gt; General. \n<\/code><\/pre>\n\n<p>See here for all the usable parameters: http:\/\/codex.wordpress.org\/Function_Reference\/bloginfo<\/p>\n\n<p>Fork away: https:\/\/github.com\/ethanpil\/wp-bloginfo-shortcode<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload <code>wp-bloginfo-shortcode.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>Include the [blog info=\"\"] shortcode in your editor....<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>I dont see any settings or options!<\/dt>\n<dd><p>There arent any!<\/p><\/dd>\n<dt>How to I enable it?<\/dt>\n<dd><p>If the plugins system has it on then its working.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0<\/h4>\n\n<ul>\n<li>Hello World!<\/li>\n<\/ul>","raw_excerpt":"Add a [blog] shortcode to the Wordpress editor to include data from bloginfo()","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/23817","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=23817"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/ethanpil"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=23817"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=23817"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=23817"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=23817"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=23817"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=23817"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}