Certified Wordpress Developer Plug_in

Plug_in
 


A plug-in (or plugin) is a set of software components that adds specific abilities to a larger software application. If supported, plug-ins enable customizing the functionality of an application. For example, plug-ins are commonly used in web browsers to play video, scan for viruses, and display new file types. Well-known plug-ins examples include Adobe Flash Player, QuickTime, and Java Applets.

Plugins can extend WordPress to do almost anything you can imagine.  Plugins are tools to extend the functionality of WordPress. This article contains a list of plugins by category, and links to other plugin repositories. The core of WordPress is designed to be lean, to maximize flexibility and minimize code bloat. Plugins offer custom functions and features so that each user can tailor their site to their specific needs.

It includes the following topics -


Managing Plugins

WordPress Plugins are composed of php scripts that extend the functionality of WordPress. They offer new additions to your blog that either enhance features that were already available or add otherwise unavailable new features to your site.

The majority of WordPress users don't require Plugins, or only require a few, such as Plugins dealing with comment spam or customized post listings. Other users enjoy the varied options Plugins provide such as frequently updated weather reports, post word counts, rating systems, and more. WordPress Plugins are optional, based upon the needs of the user, thus incorporated into the core of WordPress.

Plugins available via the WordPress Plugins Directory site are designed by volunteers and are usually free to the public. WordPress Plugins hosted in the WordPress Plugins Directory are considered thoroughly tested and "safe." Remember, WordPress Plugins are the responsibility of the author and the user, and they are typically works-in-progress as WordPress grows and expands.

If you want to develop your own Plugins, there is a comprehensive list of resources at Plugin Resources.

Finding Plugins

You can find WordPress Plugins in the Administration Panels > Plugins > Add New panel, or directly via the Official WordPress Plugins Directory.

Plugin Compatibility and Updates

Check the WordPress Plugin listing on the Plugins List on your WordPress site, or on the WordPress Plugins Directory to determine compatibility and if updates are available.

If a WordPress Plugin update is available, it will be shown on the Dashboard Panel, an alert on the Plugin's menu title, and on the Plugin List. Follow the instructions to update the Plugin.

If a WordPress Plugin is not compatible or updated for the next release of WordPress, contact the Plugin author directly for information on the next update and compatibility issues.

Installing Plugins

Automatic Plugin Installation

To add a WordPress Plugin using the built-in plugin installer:

  1. Go to Plugins > Add New.
  2. Under Search, type in the name of the WordPress Plugin or descriptive keyword, author, or tag in the search form or click a tag link below the search form.
  3. Find the WordPress Plugin you wish to install.
    1. Click Details for more information about the Plugin and instructions you may wish to print or save to help setup the Plugin.
    2. Click Install Now to install the WordPress Plugin.
  4. A popup window will ask you to confirm your wish to install the Plugin.
  5. If this is the first time you've installed a WordPress Plugin, you may need to enter the FTP login credential information. If you've installed a Plugin before, it will still have the login information. This information is available through your web server host.
  6. Click Proceed to continue with the installation. The resulting installation screen will list the installation as successful or note any problems during the install.
  7. If successful, click Activate Plugin to activate it, or Return to Plugin Installer for further actions.

Some WordPress Plugins require more steps to customize them. The Details ReadMe file should contain step-by-step instructions. After installation, this information is available on the Plugins Panel for each Plugin. If you are having problems with a WordPress Plugin.

For information on how to install a WordPress Plugin manually.

Manual Plugin Installation

There are a few cases when manually installing a WordPress Plugin is appropriate.

  • If you wish to control the placement and process of installing a WordPress Plugin.
  • If your server does not permit automatic installation of a WordPress Plugin.
  • The WordPress Plugin is not in the offical WordPress Plugin Directory.

Installation of a WordPress Plugin manually requires FTP familiarity and the awareness that you may put your site at risk if you install a WordPress Plugin incompatible with the current version or from an unreliable source.

Backup your site completely before proceeding.

To install a WordPress Plugin manually:

  1. Download your WordPress Plugin to your desktop.
  2. If downloaded as a zip archive, extract the Plugin folder to your desktop.
  3. Read through the "readme" file thoroughly to insure you follow the installation instructions.
  4. With your FTP program, upload the Plugin folder to the wp-content/plugins folder in your WordPress directory online.
  5. Go to Plugins screen and find the newly uploaded Plugin in the list.
  6. Click Activate Plugin to activate it.

Check the Details readme file for customization and further instructions.

Troubleshooting

Occasionally, a WordPress Plugin may not work as expected, or at all, or conflict with another WordPress Plugin.

  1. Check you've followed the instructions included with the WordPress Plugin exactly.
  2. Check that the Plugin has been activated in your Plugin Panel of your Administration Panels.
  3. Deactivate and re-activate the Plugin to see if this makes it work.
  4. Search the WordPress Support Forums for the name of the Plugin and keywords associated with the problem you are experiencing.
  5. Check the WordPress Plugins Directory for the notes on the Plugin and links to issues reported in the Forums.
  6. Go to the website of the Plugin author and check their blog and Plugin page for known issues or advice.
  7. Search the web with the name of the Plugin and keywords associated with the trouble.
  8. Post a question on the WordPress Support Forums with the name of the Plugin and specific problems in the title. For advice on how to improve your chances of getting help.
  9. If the problem persists and you cannot seem to solve it, check to see if there are any similar WordPress Plugins that you can try instead.
  10. Try the following tips below for troubleshooting the problem yourself if you have no fear of going "under the hood."

Advanced Troubleshootings

If you are experiencing problems with a Plugin you installed or one that stopped working after upgrades, the following are the steps you need to take to troubleshoot the Plugin:

  1. If you manually installed the Plugin, use your FTP program to delete the Plugin folder/files and upload it again.
  2. If you made changes to the WordPress Theme template files to add the Plugin's code or customization, make sure they are correct, spelled right (including letter case), and placed in the appropriate place, e.g., within the WordPress Loop or outside of it.
  3. Check that you uploaded the file to the Plugins folder under wp-content. If you are uploading a new version to replace the old, delete the old version prior to uploading the new one.
  4. If the Plugin does not appear in the Plugins List, view the Plugin's main file in the Plugin Editor to ensure the Plugin's header text exists and is properly formed.
  5. If you're using a custom WordPress Theme, try using one of the default WordPress Themes to see if your issue is Theme related. If it is, contact the Theme developer for assistance.
  6. Deactivate all your Plugins to ensure they're not causing the problem. Reactivate the problematic one. If it works, there maybe a conflict. Activate the others one-by-one and test the site to see if the problem ceases or returns, which may indicate the conflicting Plugin.

Uninstalling Plugins

To uninstall a WordPress Plugin:

  1. Go to Plugins screen.
  2. Find the Plugin you wish to deactivate and uninstall.
  3. Click Deactivate.

The Plugin will initate the deactivation.

Most WordPress Plugins have an option to completely uninstall themselves, though not all. If you wish to remove a WordPress Plugin permanently:


Plugin Admin Screen
  1. Check the WordPress Plugin instructions in the Details readme file on how to properly uninstall the Plugin.
  2. If the WordPress Plugin required the addition of code to the WordPress Theme, manually edit the Theme files to remove it.
  3. Deactivate the Plugin and remove it manually through your FTP program.
    1. Login to the site via your FTP Program.
    2. Go to the Plugin directory and find where the Plugin is installed.
    3. Delete the WordPress Plugin folder and/or files from your server.

 

WordPress Plugin Tips

The following are WordPress Plugin tips and techniques for advanced users and developers.

Plugin Management

Plugins are managed from the Plugins screen in the Administration Screens of your WordPress site. All Plugins listed on this screen are found in your wp-content/plugins directory. Each Plugin has a description in its header section of what it does, an author and website to refer to, and a version number. If you do not see the Plugin in the list of installed Plugins, most likely it is missing the "File Header":


The header section defines:

Plugin Name 
Shows the Plugin's name, and links to the Plugin's website if one is provided. Plugins listed in bold are currently active.
Version 
The version number of the Plugin.
Description 
The author's description of what the Plugin does and who authored the Plugin.
Action 
Allows you to activate, deactive, or edit the Plugin.
New version available 
If a newer version of a Plugin is available in the WordPress Plugin a message will display along with a link to the location to download that new version.

Theme Changes

Most WordPress Themes no longer require direct modification to a WordPress Theme. If you are using a WordPress Theme that does no, you need to know:

  1. Updates to the WordPress Theme may remove the Plugin modification code. Use a Child Theme or make notes to remind yourself to re-add the Plugin code to the updated Theme.
  2. If you change Themes, these changes will not carry over automatically to the new Theme. You will need to copy or add them manually to the new WordPress Theme, even if you use a Child Theme as the Child Theme is not associated with the new Theme.
  3. Upgrading WordPress may make changes to the code which could conflict with your WordPress Theme modifications. Use a Child Theme or manually check the Plugin's code to ensure it is still active.

Must-Use Plugins

If you are using the Multisite version of WordPress, Must Use Plugins are special WordPress Plugins installed in a special directory next to the normal /plugins/ dir (/mu-plugins/). They are 'must-use' because once their file is placed in the /mu-plugins/ directory. They are instantly activated and cannot be de-activated using the admin Plugins panel as don't even show up on the list.

Must-use Plugins are useful for installing WordPress Plugins on all sites in a Mutisite installation to make WordPress Plugins functionality across the entire blog network. They are loaded before normal Plugins by PHP, which means that code and hooked-functions registered in an mu-plugin can be assumed available to all other Plugins.

Hiding Plugins When Deactivated

When activated, some WordPress Plugins add tags to the template files. Upon such a Plugin's deactivation, these tags may remain in place and can affect the look and/or functionality of the Theme, resulting in errors or even failures to load. It is therefore imperative to prevent the Plugin from being detected and used, if it is deactivated.

To determine if such a condition exists, you can add some php code to the template file where the Plugin was used, and perform a simple function_exists() check. To do so, add the code in the example below and configure it for the function you'd like to check. Then upload the modified template to your WordPress Content folder.

The if (function_exists()) checks for the Plugin, and if it exists (activated or not), it will use it. If it returns FALSE or "not found", it will ignore the Plugin tag and continue loading the page.


This example Plugin uses a function called alex_get_shoutbox() to print out its contents.


 

 For Support