Selectively load CSS and JS in WordPress plugins

03/25/2013
as a best practice, Selectively load CSS & JS when developing your WordPress plugin.

Do you find it annoying when some developer unrestrictedly includes CSS stylesheets or Javascript libraries within their plugin? Well, I get annoyed too.

If you happen to not understand what I mean, please allow me to explain. I often come across WordPress plugins that include additional CSS stylesheets or Javascript libraries. Normally, those CSS and JS files are intended only for the administration page of the plugin. However instead, the developer includes CSS and JS files on every page of the WordPress admin area. Call it ignorance or laziness.

Read More

mailchimp_wp

Add custom MailChimp signup form to WordPress page templates without a plugin

01/11/2013
Easily add MailChimp sign-up form to custom landing pages built using WordPress page templates.

Adding a MailChimp sign-up form to a standard WordPress blog is effortless. Install a widget in the sidebar and you are set. On the contrary, due to design constrains custom landing pages usually do not sport a sidebar and a widget area. To achieve a seamless integration with the layout, the MailChimp sign-up form must be coded right into the page. This tutorial will help you easily add a MailChimp sign-up form to any WordPress page template.

Read More

Tip: Using Gumroad Test Mode

01/10/2013

Here’s a quick tip for testing Gumroad. For those who may be unaware, Gumroad is a super-awesome way to sell digital goods by sharing a link. Gumroad also has a nice overlay mode that you can setup on your site — thus helping you sell stuff right from your site. Gumroad makes the process of adding and selling products extremely easy. Owing to this, there ain’t any documentation to help you get started. Gumroad has an excellent support though and you can always reach out to them for help with any issues.

Read More