Etikett: format
-
WordPress: function to format teaser different from body
On many sites that I develop I want to show articles that contains both a teaser text and a body text, and I want to be able to format the teaser different than the body. So…I made a function to accomplish this. What the function does is that it wraps everything in the post before…