Prevent Canonical URL tag output on Posts

This snippet can be used to prevent AIOSEO from outputting the Canonical URL tag on posts

30+

Assign User Role Conditionally in WordPress

This snippet works with WPForms and the User Registration Add-on. It lets you assign user roles…

30+

Attributes for aioseo_robots_meta

These are just the attributes for the aioseo_robots_meta filter

30+

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…

30+

How to Automatically Redirect If User Is Already Logged In

/** * Automatic redirect from login form if a user is already logged in * *…

30+

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( )…

30+

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…

30+

Hide Author SEO Tab From User Profile Page

This filter can be used to Hide Author SEO Tab From User Profile Page

30+

Remove BreadcrumbList Schema

This snippet removes the BreadcrumbList Schema

30+

Focused Form Fields

This CSS snippet will make your fields focused on click.

30+

Change OG Title of a Specific Post

This filter can be used to change the OG Title of a Specific Post with ID…

20+

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…

20+

How to Center a Form

This code centers the form using margin: 0 auto and sets a maximum width of 500px.

20+

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( ) {…

20+

Prevent Copy Paste

This JavaScript snippet prevents right-click and copy events on the frontend

20+
1 17 18 19 20 21 181