Posts Tagged ‘Code Tips’

The Right Way to Add Custom List Markers to Unordered Lists

Custom List MarkersMost experienced web developers now understand that using CSS’s built-in method for adding custom list markers (also referred to as “bullets”) to style an unordered list is not an option. The unpredictable bugs that occur in Internet Explorer when using…

WordPress tip : change excerpt length depending of the category

This post was generated by an RSS Feed from WP Recipes

No need to modify your theme files. Simply paste the code into your functions.php file. Don’t forget to change the category ID on line 3!

add_filter('excerpt_length', 'my_excerpt_length');