Change permalink structure with a function This snippet is a good start to see how we can programatically change the permalink...
Change WordPress FROM email name and address You cannot change the default FROM email address and name in your admin panel. Use...
Show attachment count in post table On image heavy blogs your posts may contain many attachments. This function displays the attachment...
Deny access for specific admin pages You do not have sufficient permissions to access this page. - That's the message you...
Show Pingbacks count in post table If your site gets trackbacks and pingbacks you can show your posts count in the...
Custom post type yearly monthly archive permalinks Assuming you have a custom post type called NEWS you can use permalinks like this...
Replace ‘Howdy, admin’ Customize the 'Howdy, *username*' text in your admin bar. This functions replaces "Howdy" with "Logged...
Disable trackbacks and pingbacks Disable trackbacks and pingbacks in your comments section. Add this snippet to your functions.php. No...
Execute PHP in text widgets Add this function if you want to use php in a text widget. WordPress blocks...
Hide menu item in wp-admin and admin bar Those two functions hide any menu from the wp-admin panel and also from your admin...