How to Automatically Redirect If User Is Already Logged In
/** * Automatic redirect from login form if a user is already logged in * *…
Assign User Role Conditionally in WordPress
This snippet works with WPForms and the User Registration Add-on. It lets you assign user roles…
Change 'streetLineTwo' in Local SEO address output to an empty string
This filter can be used to change 'streetLineTwo' in Local SEO address output to an empty…
Focused Form Fields
This CSS snippet will make your fields focused on click.
Use a WooCommerce Product Attribute as the Brand in Product Schema
This filter enables using a WooCommerce Product Attribute as the Brand in our Product Schema. Note:…
Change Business Info Phone Icon
This filter can be used to change the business info phone icon. Replace "/assets/images/email-icon.png" with the…
Hide Author SEO Tab From User Profile Page
This filter can be used to Hide Author SEO Tab From User Profile Page
Prevent Copy Paste
This JavaScript snippet prevents right-click and copy events on the frontend
Change Business Info Location Icon
This filter can be used to change the business info location icon. Replace "/assets/images/email-icon.png" with the…
Remove BreadcrumbList Schema
This snippet removes the BreadcrumbList Schema
How to Center a Form
This code centers the form using margin: 0 auto and sets a maximum width of 500px.
How to Restrict Countries Inside Smart Phone Form Fields
/** * Restrict countries inside the Smart Phone form field * * @link https://wpforms.com/how-to-restrict-countries-inside-smart-phone-form-fields/ */ function…
How to Move to the Next Page Automatically
/** * Navigate to the next page automatically * * @link https://wpforms.com/developers/how-to-move-to-the-next-page-automatically/ */ function wpf_dev_automatic_next_page( )…
Remove the crumb for the ‘uncategorized’ category
This snippet can be used to remove the crumb for the ‘uncategorized’ category
Change OG Title of a Specific Post
This filter can be used to change the OG Title of a Specific Post with ID…