Grassmediaweb
Number of snippets: 12
Redirect after successful non-admin login
This snippet redirects a non-admin user to the URL or page/post of choice.
Enable Fluent Forms login form capability
Fluent forms does not allow the creation of a login form natively at the time of writing. However, this snippet...
Create new image sizes in WordPress
If you want to create new image sizes, this is the code snippet you've been looking for. Can be really...
Regenerate thumbnails - no extra plugin required.
Created new image sizes? Changed themes? This code snippet will force WordPress to regenerate thumbnails without the need for any...
Fluent Forms - Reject contents of email field
Maybe you want to reject selective contents of an email field - for example, not permitting hotmail, gmail etc. This...
Add custom fields to user profile
This is a simple and very flexible code snippet for adding custom fields to a user profile. Saves a bulky...
Add a custom post type to WordPress named "Slides"
Add a custom post type to WordPress without having to use a plugin.
Add a custom taxonomy to a post type named "Slides"
Having added a custom post type named "Slides", this code adds the ability to also have categories.
Display word count with a shortcode
<p>Creates a shortcode to show the word count on the page on which the shortcode is placed. The shortcode will...
Render ACF Pro Repeater Field as shortcode in Elementor
Renders the Contents of an ACF Pro Repeater field as an HTML table using a simple shortcode.
Download original media files
Add the code to your theme's functions.php or a custom plugin Navigate to Media > Download Originals in the WordPress...