Viewing 6 posts - 1 through 6 (of 6 total)
-
AuthorPosts
-
February 2, 2015 at 7:19 pm #389559
Hi,
If I push any tag the tag archive page will be opened, so far so good. But above the posts there is the term “posts”, which appears only in that archive page and I would like to hide. How does it work?
Best regards,
FrankFebruary 2, 2015 at 7:29 pm #389566This reply has been marked as private.February 3, 2015 at 10:10 am #389924Hi!
Thank you for the screenshots.
Please give us a link to the actual “tag” page. We would like to inspect it.
Best regards,
IsmaelFebruary 3, 2015 at 11:15 am #389969This reply has been marked as private.February 4, 2015 at 11:05 am #390644Hi!
You can add this on Quick CSS to remove the tag title:
.tag h3.post-title.tag-page-post-type-title { display: none; }
Try to add this on functions.php to disable the lightbox for featured images:
function avia_image_slideshow_filter($current_post) { $prepend_image = get_the_post_thumbnail(get_the_ID(), 'large'); $image = ""; if(!$prepend_image) { $image = avia_regex($current_post['content'],'image'); if(is_array($image)) { $image = $image[0]; $prepend_image = '<div class="avia-post-format-image"><img src="'.$image.'" alt="" title ="" /></div>'; } else { $image = avia_regex($current_post['content'],'<img />',""); if(is_array($image)) { $prepend_image = '<div class="avia-post-format-image">'.$image[0]."</div>"; } } } else { $large_image = wp_get_attachment_image_src( get_post_thumbnail_id(get_the_ID()), 'extra_large' ); $post = get_the_permalink(get_the_ID()); $prepend_image = '<div class="avia-post-format-image"><a href="'.$post.'">'.$prepend_image."</a></div>"; } if(!empty($prepend_image) && is_string($prepend_image)) { if($image) $current_post['content'] = str_replace($image, "", $current_post['content']); $current_post['before_content'] = $prepend_image; $current_post['slider'] = ""; } if(is_single(get_the_ID()) && get_post_meta( $current_post['the_id'], '_avia_hide_featured_image', true ) ) $current_post['before_content'] = ""; return avia_default_title_filter($current_post); }
Cheers!
IsmaelFebruary 4, 2015 at 12:15 pm #390680Hi Ismael,
thank you so much!
Best regards,
Frank -
AuthorPosts
Viewing 6 posts - 1 through 6 (of 6 total)
- The topic ‘Hide the term "posts" on tag archive page’ is closed to new replies.