EngageWP

Professional WordPress development services, and awesome WordPress content, including as tutorials, snippets, reviews, downloads, and more.

  • Blog
    • Tutorials
    • Reviews
    • Genesis
    • Gravity Forms
    • Easy Digital Downloads
    • WooCommerce
  • Downloads
  • WordPress Hosting
    • SiteGround Review
    • Kinsta Review
  • Account
  • Contact
  • Follow

Code Snippets

Code snippets for adding styles and extending the functionality of your website.

Block Admin Login from MemberPress Login Form

Blocking Admin Login from the MemberPress Login Form MemberPress is one of the best membership plugins for WordPress. The features are amazing and I recommend it without any hesitation. The topic of this post is regarding the login form that is included with MemberPress and preventing admin access

Exclude Post Categories from Blog Page

This snippet lets WordPress users exclude a category or categories from their blog page.

Limit Contact Form 7 Javascript to Specific Pages

Contact Form 7 Loads JavaScript on ALL Pages Contact Form 7 is one of the most popular form plugins available for WordPress. It's great for making simple contact forms. Most Contact Form 7 users go with it over a more advanced plugin like Gravity Forms because they only need a simple form for

Speed Up Your WordPress Website by Moving JavaScript to Footer

This code snippet removes JavaScript (including jQuery) from your WordPress website's header and moves it to the footer, optimizing your page load speeds. Just paste it into your theme's functions.php. if(!is_admin()){ remove_action('wp_head', 'wp_print_scripts'); remove_action('wp_head',

How to Edit the WordPress Admin CSS

For the most part, I have no complaints about the WordPress admin styling. However, I have had complaints about some of the styling effects certain plugins have on admin styles. For example, one of the plugins I frequently work with adds a column to the edit.php pages (the list pages for your posts)

How to Remove Categories from WooCommerce Product Category Widget

The following code removes product categories from the WooCommerce Product Category Widget. It goes in your theme's functions.php file. To remove only one WooCommerce product category, remove the extra ID's and trailing commas. UPDATE: A recent comment on this post reminded me that I wanted

How to Insert Shortcodes Into Text Widgets and Excerpts

By default, WordPress does not execute shortcodes in text widgets or excerpts. To insert a shortcode into a text widget and/or excerpt, you need to add some code into your functions.php: //Enable Shortcodes in WordPress Excerpts and Text Widgets. Add to functions.php add_filter('the_excerpt',

WooCommerce Add-to-Cart Redirect Based on Product

UPDATE: This method is fine if you want to redirect a product with a specific product category. However, if you don't need this category requirement, I released a plugin on WordPress.org for WooCommerce add-to-cart custom redirects on a per-product basis. Recently, I helped a reader with a

  • « Previous Page
  • 1
  • …
  • 7
  • 8
  • 9
  • 10
  • Next Page »

Summation Child Theme built for the Genesis Framework

Join EngageWP!

Step 1: Select a Plan

Spectator Level

Spectator

$59 (annually)

  • Premium Tutorials
  • Code Snippets
Powerhouse Level

Powerhouse

$149 (annually)

  • Premium Tutorials
  • Code Snippets
  • Tutorial Support
  • Plugins & Themes

Step 2: Complete Checkout

Edit Plan

Choose your subscription level

Choose a Payment Option

Credit Card
PayPal
Auto-renew Disabled Auto-renew Enabled

Auto-renew your membership?