Hello,
Now you can provide the plugin info for many plugins on one page.
Here’s how I solved this with three elements.
1. Install this plugin (Plugin Info)
2. Install Allow PHP in Posts and Pages
3. Look at the code guides in both plugins and do something like this:
Plugin Info Box Code
<div class="plugin-info-box">
<div><h5 class="small">all-in-one-favicon</h5></div>
<div class="smaller"><strong>Requires:</strong> [php] plugin_info( 'all-in-one-favicon', 'requires' ); [/php]</div>
<div class="smaller"><strong>Compatible:</strong> [php] plugin_info( 'all-in-one-favicon', 'compat_with' ); [/php]</div>
<div class="smaller"><strong>Updated:</strong> [php] plugin_info( 'all-in-one-favicon', 'updated' ); [/php]</div>
<div class="smaller"><strong>Downloads:</strong> [php] plugin_info( 'all-in-one-favicon', 'downloaded' ); [/php]</div>
<div class="smaller"><strong>Version:</strong> [php] plugin_info( 'all-in-one-favicon', 'version' ); [/php]</div>
<div class="smaller"><strong>Rating:</strong> [php] plugin_info( 'all-in-one-favicon', 'rating' ); [/php] stars of 5</div>
<div class="smaller"><strong>Author:</strong> [php] plugin_info( 'all-in-one-favicon', 'author' ); [/php]</div>
</div>
And here’s the CSS I used:
.plugin-info-box {
border: 1px solid #ccc;
padding: 12px;
float: right;
}
.small {
font-size: .95rem;
}
.smaller {
font-size: .75rem;
}
In my case, I wanted the info box to be right aligned, with a slightly smaller font.
You can see this in action on three posts at KB4WP.com – Favorite WordPress Plugins.
Best,
Chris