Simple little snippet that will use a custom field
sponsored set to true will prepend “‘Sponsored post:” to
the_title. The second snippet will prepend the value of
Simple little snippet that will use a custom fieldRead More...
WordPress 3.3+ has a core function called wp_trim_words() this function will trim text to a specified number of words and return the result. Adding this snippet to your wordpress loop will let you easily trim the number of words displayed within the_content, the_excerpt, the_title or any other value you pass to this core function.Read More...