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.
Prevent Copy Paste
This JavaScript snippet prevents right-click and copy events on the frontend
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
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( )…
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 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.
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…
Remove article:published_time and article:modified_time meta tags from all posts
This filter can be used to remove article:published_time and article:modified_time meta tags from all posts