• Hi,

    I use TwentyFourteen and checked my template-tags.php to remove the colon in custom fields post meta key. Unfortunately I can’t find it!

    Anyone knows where it is?

    <ul class='post-meta'>
    <li><span class='post-meta-key'>your_key:</span> your_value</li>
    </ul>
Viewing 2 replies - 16 through 17 (of 17 total)
  • Your requirements have developed into something more than a simple ‘add the same custom field to every new post’. Now some posts get one custom field while others get a different one. That means that the approach I recommended probably will not work.

    This might be better handled at the point where you display the custom field. There you would check the value of the CF and return the correct output depending on the value you found.

    That would involve creating one or more custom templates and is more complex than can be handled in this forum. You probably need to hire someone to help with this. You can post a job request on jobs.wordpress.net at no charge for the posting.

    Thanks vtxyzzy! Loved your filter.

Viewing 2 replies - 16 through 17 (of 17 total)
  • The topic ‘Remove : (colon) from custom fields post meta key’ is closed to new replies.