Tag: wordpress
-
One thing you didn’t know about WordPress images.
By default in WordPress when you server up a .JPEG file, WordPress optimizes the image to save bandwidth and space. 90% of the time, no one will realize this as the WordPress function behind image optimization does a fantastic job at keeping it’s quality the same, unless you are using very large high quality photo…
-
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. [php]function new_excerpt_length($length) { return 100; } add_filter(‘excerpt_length’, ‘new_excerpt_length’);[/php] Change…