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
“Prepend ‘Sponsored post:’ to post title using post_meta is a post from: wpsnipp.com – WordPress Snippets, Code, Hacks, 615+ for your wordpress theme or blog.