We've found 143 snippets for you.
Get The First Image From Posts & Display

Get The First Image From Posts & Display

For posts does not have featured image, we will get the first image from post...
Automatically Empty Trash in WordPress

Automatically Empty Trash in WordPress

This snippet will let you automatically empty trash in WordPress daily, weekl...
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...
Change Default Theme For WordPress Multisites

Change Default Theme For WordPress Multisites

You can change default theme of your WordPress multisite network by overridin...
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 ...
Disable Automatic Updates In WordPress

Disable Automatic Updates In WordPress

Automatic WordPress updates is a nice feature, but some users update websites...
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 ...
Remove Default WordPress Widgets From Dashboard

Remove Default WordPress Widgets From Dashboard

WordPress has many in-built widgets. But chance are you will not use them all...
Remove WordPress Version From The Admin Footer

Remove WordPress Version From The Admin Footer

WordPress admin footer bar shows the current WordPress version but with this ...
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...
Get Current Page ID Outside The Loop

Get Current Page ID Outside The Loop

Outside the loop, WordPress does not know what context it is in. To get curre...
Add Custom Post Types to Your RSS Feed

Add Custom Post Types to Your RSS Feed

WordPress RSS feed normally consist of just blog posts but you can use this c...