KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
Been trying to google an answer but cant seem to find anything, I have the following... <?php $values = array_map('trim', get_post_custom_values($key)); $value = implode($values,', '); echo "<div class='top-meta-vals'>".apply_filters(" $value\n", $value)."</div>"; ?> I want to wrap each and every $value in a span tag but im unsure how... I tried, <?php $value = "<span>".implode($values,', ')."</span>"; ?> with no luck, can anybody give me an idea of where im going wrong?
Tags (comma-separated)
Save Edits
Cancel