What is a Plugin?

Standard
[display-posts post_type="content" id="3672" include_content=true include_title=false wrapper="div" wrapper_class=""]

What is a Plugin?

Plugins are packages of code that extend the core functionality of WordPress. WordPress plugins are made up of PHP code and other assets that make the plugin useful. These include, but are not limited to images, CSS, and Javascript.

By making your own plugin you are building additional functionality on top of what WordPress already offers.  For example, you could write a plugin that allows you to show links to the 10 most recent posts on your site.

Or, using WordPress’ custom post types, you could write a plugin that creates a full-featured support ticketing system with email notifications, custom ticket statuses, and a client-facing portal. The possibilities are endless!

Most WordPress plugins are comprised of many files, but a plugin really only needs one main file with a specifically formatted DocBlock in the header.

Hello Dolly, one of the first plugins, is only 82 lines long. Hello Dolly shows lyrics from the famous song in the WordPress Dashboard. Some CSS is used in the PHP file to control how the lyric is styled.

As a WordPress.org plugin author, you have an amazing opportunity to have your plugin installed, tinkered with, and loved by millions of WordPress users. All you need to do is turn your great idea into code. We are here to help you with that.

 
Skip to toolbar