
We Made Support a Priority, and It Paid Off
At WP RSS Aggregator we pride ourselves on providing top-notch support. Here’s a look at how we do it, and why we do it in the first place.
At WP RSS Aggregator we pride ourselves on providing top-notch support. Here’s a look at how we do it, and why we do it in the first place.
WordPress is a perfect platform on which to build a documentation website. Moreover there are many plugin and theme developers who need to provide documentation for their products. Here are some plugins and themes that make things easier.
When creating plugins, I sometimes need to check whether another plugin is already installed and active. This might be due to my plugin adding some extra functionality on top of the other plugin. Therefore it doesn’t make sense to have my plugin active while the main plugin is not active. The situation is the same when creating add-ons for an existing plugin.
One of the marks of a truly great WordPress developer, is his ability to include excellent commenting in his code. Go ahead, take a look at some of the plugins/themes by the best developers, and see how easy it is to read through their code. They adhere to the WordPress Coding Standards when writing HTML and PHP. There is also the CSS Coding Standards page on the Core Contributor Handbook, which is definitely another page to check out.
Today we will therefore look at the subject of commenting. I’m going to show you a few examples from top plugins and themes. We’ll be focusing on the use of commenting in the documentation of files and functions/classes, but we’ll also mention the normal comments you can sprinkle throughout your code.
Your trusted source for WordPress reviews and tutorials. Sign up today.
Your resource for anything
WordPress-related.
Browse Topics
Company & Legal
Full disclosure: When clicking on some of the links on our website and purchasing the product or service, we may earn a commission at no additional cost to you. We rely on these commissions to continue producing content for you.
Full disclosure: When clicking on some of the links on this page and purchasing the product or service, we may earn a commission at no additional cost to you. WP Mayor relies on these commissions to continue producing and updating valuable content on a weekly basis.
WP Mayor is hosted by Servebolt.
A decade-long dedication to the WordPress community.