Prepend ‘Sponsored post:’ to post title using post_meta

Go to source

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 sponsored to the_title.

Prepend ‘Sponsored post:’ to post title using post_meta is a post from: wpsnipp.comWordPress Snippets, Code, Hacks, 615+ for your wordpress theme or blog.