We've found 46 snippets by Jenson
Highlight Post Author Comments in WordPress

Highlight Post Author Comments in WordPress

WordPress adds bypostauthor CSS class to specifically target post author's co...
Get Category Slug of Current Category in WordPress

Get Category Slug of Current Category in WordPress

In this article we will show a simple way to get category slug of current cat...
Exclude Category Posts From RSS Feed

Exclude Category Posts From RSS Feed

WordPress offers a pre_get_posts hook that we can use to exclude category pos...
Automatically Spam Comments With a Long URL

Automatically Spam Comments With a Long URL

To reduce spam comments in your WordPress website, this snippet will let you ...
Load jQuery From Google CDN in WordPress

Load jQuery From Google CDN in WordPress

Loading jQuery from Google CDN has many benefits. It decreases latency, incre...
Get Template File Being Used on Current Page

Get Template File Being Used on Current Page

If you want to get template file being used on current page then you can use ...
Clean Up WordPress Dashboard Widgets

Clean Up WordPress Dashboard Widgets

This code snippet will allow you to customize WordPress admin panel and remov...
Automatically Link Twitter Usernames in Posts And Comments

Automatically Link Twitter Usernames in Posts And Comments

This snippet will automatically link twitter usernames (eg @WPCodeSnippet) in...
Show The Latest Sticky Posts In WordPress

Show The Latest Sticky Posts In WordPress

This WordPress code snippet will show you how to display latest sticky posts ...
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 ...
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...
Set Minimum Word Count to Publish Post

Set Minimum Word Count to Publish Post

This code snippet will let you set a minimum word count for WordPress posts. ...