Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #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,
    Frank

    #389566
    This reply has been marked as private.
    #389924

    Hi!

    Thank you for the screenshots.

    Please give us a link to the actual “tag” page. We would like to inspect it.

    Best regards,
    Ismael

    #389969
    This reply has been marked as private.
    #390644

    Hi!

    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!
    Ismael

    #390680

    Hi Ismael,

    thank you so much!

    Best regards,
    Frank

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Hide the term "posts" on tag archive page’ is closed to new replies.