dachshund Posted August 23, 2011 Share Posted August 23, 2011 Hi, I'm using process wire as a base CMS and am trying to create a tag list from a free text area in the admin. I have been able to get all pages with 'tags' and then explode them into an array: $matches = $pages->find("template=post"); foreach($matches as $key => $tag){ $tags = explode(",", $tag->tags); } What I can work out is how to consolidate all the tags into one array comparing it to see whether it already has that tag it or not... Any help would be great, thanks Quote Link to comment https://forums.phpfreaks.com/topic/245517-tagging-function-how-do-i-get-tags-and-then-show-them/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.