bondigor69 Posted June 16, 2012 Share Posted June 16, 2012 hello guys I have this code from wordpress CODEX http://codex.wordpress.org/Function_Reference/get_the_tags <?php $posttags = get_the_tags(); if ($posttags) { foreach($posttags as $tag) { echo $tag->name . ' #'; } } ?> And I split the tags with # And there is the tags (wordpress #codex #howto #blabla #) The dash separates the tags!!! How can I put the # before each Tag instead separating the tags with the dash Link to comment https://forums.phpfreaks.com/topic/264300-wordpress-tags-insert-something-before/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.