Search Tag Links Not Working
-
Hello, Help me understand why my product/taxonomy tag links are not working!?
https://www.seacole.com/product-search
https://www.seacole.com/?s=ovenWhen you click on a tag or a word in the “Seacole Product Tags:” it should open a new search/list for this word, but we get a page not found. Here is the code that displays this list:
<span class='post-meta-infos'> <time class='date-container minor-meta updated' <?php avia_markup_helper(array('context' => 'entry_time')); ?>> <?php the_time('d M Y'); ?> </time> <?php if(get_post_type() !== "page") { if ( get_comments_number() != "0" || comments_open() ) { echo "<span class='text-sep'>/</span>"; echo "<span class='comment-container minor-meta'>"; comments_popup_link( "0 ".__('Comments','avia_framework'), "1 ".__('Comment' ,'avia_framework'), "% ".__('Comments','avia_framework'),'comments-link', "".__('Comments Disabled','avia_framework')); echo "</span>"; } } $taxonomies = get_object_taxonomies(get_post_type($the_id)); $cats = ''; $excluded_taxonomies = array_merge( get_taxonomies( array( 'public' => false ) ), array('post_tag','post_format') ); $excluded_taxonomies = apply_filters('avf_exclude_taxonomies', $excluded_taxonomies, get_post_type($the_id), $the_id); if(!empty($taxonomies)) { foreach($taxonomies as $taxonomy) { if(!in_array($taxonomy, $excluded_taxonomies)) { $cats .= get_the_term_list($the_id, $taxonomy, '', ', ','').' '; } } } if(!empty($cats)) { echo "<span class='text-sep'>/</span>"; echo '<span class="blog-categories minor-meta">'.__('Seacole Product Tags:','avia_framework')." "; echo $cats; echo '</span>'; } ?>
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Search Tag Links Not Working’ is closed to new replies.