Viper’s Plugins Used

When I wanted to publicly list the plugins I used, I wanted the descriptions to be a little more visitor friendly then the sometimes technical descriptions that are given to describe how the plugin works. Vipers Plugins Used solves that problem. It lists the plugins and allows me to customize their descriptions.

This plugin is discontinued (meaning there is no active development going on and the plugin has been basically shelved) but I have yet to see another plugin that allows you to customize the description. Hopefully, the only difficulty that you should have with this plugin is the installation.

You can download the plugin from WordPress.org or search for it in your WordPress Dashboard under Plugins > Add New > Search ‘Vipers Plugins Used.’

First thing you need to do is go into your theme’s directory in your ftp (I personally work straight in cPanel). The path should look something a lot like this: WordPress > Wp-content > Themes.
Make a new file called vipersplugins.php(or another name, it doesn’t matter as long as you know what it is).

Paste this at the top of your new page.
<?php
/*
Template Name: Plugins Used
*/
$viperspluginsused = new viperspluginsused();
?>

Now if you just had that and nothing else it would just be a blank page. You need to pull in the layout and content and to do this you can just copy and paste your page.php in here. Basically you are just looking for a clean template page file. Hopefully, you know what I’m talking about, if not you can visit the WordPress codex hub here and look at the section that explains the page template.

Now you have a couple of options on how to display the plugins.
Table:
<?php $viperspluginsused->output_table(); ?>

And to use CSS with the table its css call is:
#pluginstable

Foe example:
#pluginstable td {
padding: 3px;
}

And if you want to take out the automatic border around the table I can tell you what I did (I don’t understand the readme.txt’s explanation fully). I went and edited the plugin, which you can do in your WordPress Dashboard by going to Plugins, finding the plugin you want in the drop-down box, and clicking Edit. But you have to be very careful, you can easily mess plugins up and then have to re-install them.

About 2400 lines down into the php document you will see this:
$tabledetails = ‘width=”100%” border=”1″ cellpadding=”3″ cellspacing=”3″‘;

You can tell the border to be 0 there.

Now, if you don’t want to do a table at all, this is the code snippet for an unordered list instead:
Unordered list:
<?php $viperspluginsused->output_list(); ?>

Place either of these options (un-ordered list or table) right under where your content call (where the content begins) for the page template which might look something like this:
<?php the_content('<p class="serif">Read the rest of this page »</p&362;'); ?>

Now go into your WordPress Dashboard and make a new page. Over in the right sidebar there is a box called page attributes. You want to locate where it says ‘Template’ and then click the drop down and find the ‘Plugins Used template’.

Now your plugin page is ready!

Comments are closed.