We've found 48 snippets by Vanessa
Change Excerpt Length For Different Categories

Change Excerpt Length For Different Categories

Post excerpt has a default length of 55 words but sometimes you want to chang...
Enqueue Scripts and Stylesheets in WordPress

Enqueue Scripts and Stylesheets in WordPress

The proper way to enqueue scripts and stylesheets in WordPress is very import...
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...
Disable WordPress Admin Bar for All Users Except Admins

Disable WordPress Admin Bar for All Users Except Admins

To disable the Admin Bar for all users except Admin capabilities, add this si...
Protect .svn Folders From Public Access

Protect .svn Folders From Public Access

For using WordPress with Subversion, the first thing you want to do is to pro...
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...
Add Published Date & Last Modified Date in WordPress

Add Published Date & Last Modified Date in WordPress

Sometimes you want to display last modified date of articles along with publi...
Display Custom Message on WordPress Login Page

Display Custom Message on WordPress Login Page

You can display a custom message on the WordPress login page. This is a great...
Disable Automatic Compression of JPG in WordPress

Disable Automatic Compression of JPG in WordPress

WordPress has built in compression for JPG images but you can disable automat...
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...
Encode Email Address With Shortcode

Encode Email Address With Shortcode

WordPress offers a way to protect your email address from displaying it publi...
Remove WordPress Generator Meta Tag Completely

Remove WordPress Generator Meta Tag Completely

The WordPress generator meta tag displays your website's WordPress version to...