Archive by Author

WordPress Username Restrictions without a Plugin

26 April

On a recent project my client needed WordPress username restrictions but didn’t want to use a plugin. There are a few plugins out there that allow username restrictions but they are a bit overkill for this project and so I decided to just implemented it via a snippet in functions.php. Basically, there’s a list of […]

Remove page numbers from wp_head for post type archives with WordPress SEO

23 April

If you’ve got WordPress SEO enabled this can be a tricky one. Took a while to track down exactly where those /page/2s were being added to my custom post type archive. I removed get_pagenum_link and start_post_rel_link and finally figured out the culprit was WordPress SEO! Just add something like the following to your functions.php // […]

Comments Off on Remove page numbers from wp_head for post type archives with WordPress SEO Continue Reading →

Looking for a WordPress Subscription Plugin? You Likely Need Several

21 April

Many of you have asked how to quickly set up a premium WordPress subscription membership site that supports limiting access to content for paying subscribers. The fastest way to go, without doing any programming or hiring a developer is to use a combination of free and premium WordPress tools. In this How To, I’ll quickly […]

Comments Off on Looking for a WordPress Subscription Plugin? You Likely Need Several Continue Reading →

WPML WordPress Multilingual Updates

21 April

Hi folks, Just a heads up that WPML has some new versions, released on April 18th and I’ve updated the WPML Bundle. WPML Multilingual CMS – Version 2.8, Released on April 18th, 2013 WPML String Translation – Version 1.7, Released on April 18th, 2013 WPML Translation Management – Version 1.6, Released on April 18th, 2013 […]

Plugin & Theme Updates, 04-19-2013

19 April

Hi folks, Just a heads up, I’ve updated a number of themes and plugins this week. You may want to check whether you’re due for an update. Here’s a list of what’s changed: Resort Theme by WooThemes – Version 1.0.0, Released on 2013-04-16 Canvas Theme by WooThemes – Version 5.2.2, Released on 2013-04-16 Superstore Theme […]

New Theme: Resort by WooThemes

19 April

Hi gang, I’ve just added a lovely new WooThemes creation, the Resort Theme. Like all the themes on Sozot.com, it’s just $10, and it’s automatically included in my membership club. Resort is really slick. It’s got a neat affixed navigation that scrolls along as the user moves down the page and plenty of features to […]

How to Hook Into WooCommerce to Trigger Something After an Order is Placed

14 April

It could be anything, but if you’re offering a service of some kind, rather than a simple downloadable product, you may need to trigger something to happen when an order is complete. Here’s a simple snippet illustrating how you can add an action to woocommerce_payment_complete. Add something like the following to your functions.php. You’ll need […]

Comments Off on How to Hook Into WooCommerce to Trigger Something After an Order is Placed Continue Reading →

Add Author Field to bbPress Topics

13 April

Simple snippet to add an Author field to bbPress Topics: // Add Author field to Topics add_action( ‘init’, ‘custom_add_author_to_topics’ ); function custom_add_author_to_topics() { add_post_type_support( ‘topic’, ‘author’ ); } Twitter Facebook Google+ LinkedIn

How To Avoid Browser Security Errors And Embed YouTube Videos Properly On Your SSL WordPress Site

12 April

This is hopefully going to be fixed in core soon, but if you’re running into this problem, the solution is to add the following functions to functions.php: // Enbed YouTube Videos over SSL wp_oembed_add_provider(‘#https://(www\.)?youtube.com/watch.*#i’, ‘http://youtube.com/oembed?scheme=https’, true); wp_oembed_add_provider(‘https://youtu.be/*’, ‘http://youtube.com/oembed?scheme=https’, false ); Twitter Facebook Google+ LinkedIn

Comments Off on How To Avoid Browser Security Errors And Embed YouTube Videos Properly On Your SSL WordPress Site Continue Reading →

Customize WooCommerce Checkout Fields

11 April

You can use a filter to override the WooCommerce checkout fields that display, and also change their content. Here’s an example snippet of how to do that. Add it to your functions.php: // Customize Checkout Fields function custom_override_checkout_fields( $fields ) { $fields[‘billing’][‘billing_company’][‘label’] = ‘Organization’; $fields[‘billing’][‘billing_company’][‘required’] = true; $fields[‘billing’][‘billing_company’][‘placeholder’] = ‘Your Organization\’s Name’; $fields[‘order’][‘order_comments’][‘placeholder’] = ”; […]