Welcome to the Grassmediaweb Codevault! 🚀
Total number of Snippets: 11
Search:
You can search for a snippet by name.
Filter:
Clicking on any of the language buttons will show only snippets in that language. Selecting a snippet from the categroy list will only show snippets in that category.
Sorry, there are no snippets in that category...🫙
Have one in mind, click below to create one.
Create SnippetAI Verified
Category: WordPress Admin
Added: 2 years ago
Last Updated: 6 months ago
This snippet redirects a non-admin user to the URL or page/post of choice.
AI Verified
Category: General
Added: 2 years ago
Last Updated: 1 year ago
Fluent forms does not allow the creation of a login form natively at the time of writing. However, this snippet enables that function.
AI Verified
Category: WordPress Admin
Added: 2 years ago
Last Updated: 1 year ago
If you want to create new image sizes, this is the code snippet you've been looking for. Can be really useful for, for example, creating consistently non-sqare sized product images in WooCommerce.
AI Verified
Category: WordPress Admin
Added: 2 years ago
Last Updated: 1 year ago
Created new image sizes? Changed themes? This code snippet will force WordPress to regenerate thumbnails without the need for any 3rd party plugin.
AI Verified
Category: General
Added: 2 years ago
Last Updated: 1 year ago
Maybe you want to reject selective contents of an email field - for example, not permitting hotmail, gmail etc. This snippet will do the job.
AI Verified
Category: WordPress Admin
Added: 1 year ago
Last Updated: 1 year ago
This is a simple and very flexible code snippet for adding custom fields to a user profile. Saves a bulky extra plugin!
AI Verified
Category: WordPress Admin
Added: 1 year ago
Last Updated: 10 months ago
Add a custom post type to WordPress without having to use a plugin.
AI Verified
Category: WordPress Admin
Added: 1 year ago
Last Updated: 1 year ago
Having added a custom post type named "Slides", this code adds the ability to also have categories.
AI Verified
Category: General
Added: 1 year ago
Last Updated: 1 year ago
<p>Creates a shortcode to show the word count on the page on which the shortcode is placed. The shortcode will be [word_count]</p>