Prevent Canonical URL tag output on Posts
This snippet can be used to prevent AIOSEO from outputting the Canonical URL tag on posts
Assign User Role Conditionally in WordPress
This snippet works with WPForms and the User Registration Add-on. It lets you assign user roles…
Attributes for aioseo_robots_meta
These are just the attributes for the aioseo_robots_meta filter
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 Automatically Redirect If User Is Already Logged In
/** * Automatic redirect from login form if a user is already logged in * *…
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( )…
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…
Hide Author SEO Tab From User Profile Page
This filter can be used to Hide Author SEO Tab From User Profile Page
Remove BreadcrumbList Schema
This snippet removes the BreadcrumbList Schema
Focused Form Fields
This CSS snippet will make your fields focused on click.
Change OG Title of a Specific Post
This filter can be used to change the OG Title of a Specific Post with ID…
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…
How to Center a Form
This code centers the form using margin: 0 auto and sets a maximum width of 500px.
How to Automatically Submit a Form with a Field Choice
/** * Trigger submit from checkbox click * * @link https://wpforms.com/developers/how-to-automatically-submit-a-form-with-a-field-choice/ */ function wpf_dev_automatic_submit_form( ) {…
Prevent Copy Paste
This JavaScript snippet prevents right-click and copy events on the frontend