WordPress
Remove BR tag from default WordPress Gallery output
WordPress adds a br tag in the default gallery output, which, in some themes may not..
Adding a finish class into a custom menu
A simple solution to add a clearing class at the end of WordPress menu via the..
Add class to parent page and class to sub-child page
In WordPress, you can add a class to be applied anywhere in the web document, for..
Limit the_excerpt to a fixed number of characters
A function to output a certain number of words from your WordPress content is useful, but..
Automatically remove RSS feeds references
You can automatically remove SS feeds references from within a head tag, by simply adding the..
Count comments and not trackbacks or pings
You can disable the functionality in which WordPress counts both comments and trackbacks as comments in..
More tags allowed in comments form
By default, WordPress will limit the number of HTML tags and their attributes to be allowed..
Disable loading jQuery from head
In functions.php file you can add the following lines of code to disable automatically loading the..
Highlight current category on a single post
When viewing a category page, category.php, WordPress automatically adds a current-cat class to the li tag..
Remove plugin scripts and styles from head
Unfortunately, WordPress plugins are loading their JavaScripts files and CSS stylesheet on every page, without taking..
