Bloginfo Shortcode
Add a [blog] shortcode to the Wordpress editor to include data from bloginfo()
The facts
- Rating
- 5★ from 1
- Active installs
- 700+
- Price
- Free
- Last updated
- 25 Sep 2013
- Added
- Sep 2013
- Requires WP
- 3.0
- Tested up to
- WP 3.6.1
- Downloads
- 3,086
Our analysis
AI-assistedBloginfo Shortcode is a WordPress plugin that allows you to use a shortcode to pull information from your site's settings, similar to the PHP function bloginfo(). It simplifies the process of displaying site information, such as the site title, tagline, and URLs, directly within post content. This can be particularly useful for users who need to implement variations of their site without manually updating each instance of the information.
The plugin is easy to use; simply insert the shortcode [blog info='parameter'] where you want the information to appear. Supported parameters include 'name', 'description', 'wpurl', 'url', and 'admin_email', among others. This plugin is suitable for WordPress users looking for a straightforward method to include site information in their posts.
Best for: WordPress users who want to easily display site information in posts.
What it does well
- ✓Adds a shortcode for easy access to site information
- ✓Supports multiple parameters for flexibility
- ✓Simple to implement in post content
Where it falls short
- •Limited information on features and updates
- •Last updated in September 2013
Verdict
Bloginfo Shortcode provides a simple solution for incorporating site details into content, but its age and lack of recent updates may be a concern for some users.
From the developer
ethanpil's own description of Bloginfo Shortcode, lightly tidied.
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().
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.
Its used like this:
[blog info="name"]
This is the equivalent of the following in PHP:
bloginfo('name');
Here are some example uses:
[blog info="name"] - Displays the "Site Title" set in Settings > General.
[blog info="description"] - Displays the "Tagline" set in Settings > General.
[blog info="wpurl"] - Displays the "WordPress address (URL)" set in Settings > General.
[blog info="url"] - Displays the "Site address (URL)" set in Settings > General.
[blog info="admin_email"] - Displays the "E-mail address" set in Settings > General.
See here for all the usable parameters: https://codex.wordpress.org/Function_Reference/bloginfo
Fork away: https://github.com/ethanpil/wp-bloginfo-shortcode