Is the plugin is compatible with WPML ?
Get WPFTS Pro today with 25% discount!
P
Posts
-
How to index post tags and have results
Hi,
I’ve create some indexes with custom fields but for one of the index I add the tags attached to the posts. Unfortunatly when I do a search I ca’t retrive the post with the tag. Any Ideas or help will be apprecied?in my functions :
$tags = get_the_terms($post->ID, 'post_tag'); $tagName = array(); if ($tags) { foreach ($tags as $tag) { $tagName[] = $tag->name; } } $index['post_tag'] = implode($tagName);