Add your own CSS class to every page. Steps Done — a custom class will be added to the <body> tag.
Show the featured image at the top of RSS feed content. Steps Open functions.php. Add the code below. Save the file. Done — RSS…
Benefits Improves rendering speed Add this into functions.php file
Removes the Help tab from the top-right corner of the admin area. Steps Open functions.php. Add the code below. Save the file. Done —…
Prevent users from changing admin color schemes. Steps Open functions.php. Add the code below. Save the file. Done — color scheme options will disappear…
To add a new user role in WordPress, you use the add_role() function. You can place this snippet in your active theme’s functions.php file…
This is the standard, safe way to add stylesheets and scripts to your front-end.
WooCommerce Auto Note Tagger: Auto-tags order notes using fuzzy matching (Levenshtein) and stores tags in order meta.
Check current user role
Display the total number of words in a post. Steps Add the code below to functions.php. Save the file. Call the function inside your…
Helpful for portfolio, photography, and artwork websites. Steps Done — images cannot be dragged by visitors.
