Change number of WooCommerce products per row Defines where ‘first’ and ‘last’ classes are applied in product archives
Add Login Logout link to navigation This function adds custom links (i.e. login\logout links) to your specified navigation menu. Change 'primary_navigation'...
Set post image as featured image This code grabs the first image from your post and inserts it as the featured...
Disable HTML in comments What this does is it converts single quotes, double quotes, the less than symbol (<),...
Add ‘delete’ and ‘spam’ links to comments Wouldn’t it be nice if you were able to mark a comment as spam,...
Restrict template parts to specific user class Use this in a custom template page to restrict page content to specified user role.
Clean up and customize body_class This is a great way to filter out many of the unwanted css classes...
Set permalink settings in a function set the permalink settings from the the functions.php file, rather than from the WordPress admin...
Disable Pingbacks for security reasons Due to recent hacking attemps of WordPress sites we found a code to close the...