Find out what template a WordPress theme is using.

Recently I was working on a clients website and it was decided that I was going to integrate buddypress¬†on the website. I have worked with buddypress in the past and found it a great bit of software to extend upon with WordPress. This time round it was a bit more of a overall custom feel […]

Change the default excerpt length of 55 words.

By default the_excerpt length is 55 words. Sometimes I want to give my readers a longer excerpt length, depending on font-size and other element sizes, you could make the little teaser somewhat longer. The below code creates overwrite the_excerpt and will return as many words as you desire. function new_excerpt_length($length) { return 100; } add_filter(‘excerpt_length’, ‘new_excerpt_length’); Change […]