We've found 22 snippets for you in Functions
Check if Certain Plugin is Active in WordPress

Check if Certain Plugin is Active in WordPress

With this simple method you'll be safe when adding functionality that is mean...
Add Read More Link to WordPress Post Excerpts

Add Read More Link to WordPress Post Excerpts

If you use excerpt on post stream pages and archive pages then this code snip...
Add A Favicon To Your WordPress Website

Add A Favicon To Your WordPress Website

Adding a favicon on your WordPress website is extremely very simple. Just upl...
Delete Post Revisions Using Functions.php File

Delete Post Revisions Using Functions.php File

To unclutter your WordPress database and optimize it, you should delete post ...
Add Custom Image Size to Post Thumbnails

Add Custom Image Size to Post Thumbnails

WordPress has built-in function add_image_size(). Using this core function in...
Display All WP Query Variables in WordPress

Display All WP Query Variables in WordPress

When developing a WordPress theme or plugin, it's very useful to be able to o...
Check If a WordPress User is Logged In

Check If a WordPress User is Logged In

To show different content based on whether a WordPress user is logged in or n...
Redirect to Custom Page After Registration

Redirect to Custom Page After Registration

With this code snippet, new registered users on your website will redirect to...
Remove Width & Height Attributes From Uploaded Images

Remove Width & Height Attributes From Uploaded Images

Wordpress automatically insert the image width and height attribute in the im...
Open All External Links In New Window

Open All External Links In New Window

To make all external links open in new window or tab, you can add target="_bl...