How To Change WooCommerce Add To Cart Button Text

WooCommerce is not a one size fits all solution. Sometimes the default options just don't suit your needs and you need to make slight modifications, via code or template edits, to accomplish your goals. For this example, let's pretend you sell…


How To Use A Shortcode Inside A Post Excerpt

Using a shortcode inside post content is a fairly simple task. Simply write out the shortcode inside some brackets and you're all set. But what if you wanted to use a shortcode inside a post excerpt? If you've tried to do this yourself you'll…


How To Change The WordPress Default Post Type Labels

If you have ever wondered if you can change the default WordPress post type labels like View Post or Edit Post then you're in luck because it's actually really easy. Why would you want to do this instead of creating a custom post type? Some people…


How To Remove Select2 in WooCommerce

If you ever find yourself needing to remove Select2 from WooCommerce then follow these simple steps. Where do I put this code? A good place for this code is inside your themes functions.php file.  Plugin authors can also adapt this code for use…


Snippet: Adding Text to the End of a Post

The WordPress content filter, also known as the_content, is a way to filter post and page content before it is printed to the screen. As an example, suppose you have a page with the following content: Hello there!  My name is Mike and I like to eat…


WordPress Custom Post Types and How To Create Your Own

WordPress post types are the bread and butter of the entire WordPress platform. Posts, pages, menu items, attachments, and even custom CSS (from the customizer) are examples of post types that come with a default installation of WordPress. When…


Creating a Custom Archive Page for a Custom Post Type in WordPress

Often times when dealing with custom post types you'll want to customize the look of the archive page. All WordPress themes come with a default archive template file called archive.php and its located in the root of the theme folder. Some themes…