@epsilonadmin custom block.
Here is info how to create block - https://www.advancedcustomfields.com/blog/acf-5-8-introducing-acf-blocks-for-gutenberg/
So we register new block, assigned fields for this block.
We add block on page. When I try to search phrase from one of these field - page not added to search result
Get WPFTS Pro today with 25% discount!
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);