Viewing 16 posts - 1 through 16 (of 16 total)
  • Author
    Posts
  • #330415

    Hi, on my blog view – http://photobek.wpengine.com/blog/ (hosted on WPengine) – every feature image that is shown above the title of a post is linking to the image and opens in a lightbox.

    I would like the images to link to the post itself, same as the title. How can I do that?

    Thanks.

    #330589

    Interested in the same thing :)

    #330597

    Go to Media Library and under the “Uploaded to” heading attach all unattached images to the pages or posts you want… It works for me :)

    #330600

    Hi sdbroker,

    Thank you for the reply, where can we find “Uploaded to” ? I went to Media Library, but unable to find “Uploaded to”

    #330602

    Hey Courtney,

    You are probably in the Grid view on the Media Library. Under the Media Library heading there are 2 icons, the one to the left is the List icon and the one to the right is the Grid icon. click the one to the left to see the images on a List. Then you’ll see the “Uploaded to” heading.

    #330615

    Thank you for the detailed instructions :)

    I found “Uploaded to” , and added to post to the image, unfortunately the image still opens up as a lightbox and doesn’t link directly to the post page…. darn… need the image to link directly to the post page..

    #331114

    Hey Courtney,

    If you use the Yoast SEO plugin you can easy redirect the images to the images to the post url under the Advanced tab while editing the image or you can add the post’s url in the image’s url box directly on the WordPress Media Library while editing the image. Hope that helps.

    #331130

    i can not understand that because if you chose in Enfold options for blog-style the “Multi-Author-Blog”
    than the image is linked to the single post

    http://www.guenterweber.com/entwurf/wp05/category/allgemein/

    #331236

    Thanks for the help guys, I tried the Yoast re-direct and the url…still no dice, it keeps on opening up as a lightbox :(

    *I have the post set to image

    For Blog: I have it set to Single Post with Big Preview.

    #332031

    Hi!

    Thank you all for helping out. Sorry for the delay.

    The blog overview page featured image should open the actual post when clicked. Do you mind if we take a look at the actual blog page? We would like to check it.

    Regards,
    Ismael

    #332810
    This reply has been marked as private.
    #333086

    Hi!

    @Courtney: You set the post format of How to get healthy skin at any age with celebrity dermatologist Dr. Zein Obagi to “Image”. That’s why it’s opening the featured image in a lightbox.

    Best regards,
    Ismael

    #333182

    Hi :)
    Thank you for looking into it,
    I like the way “image” looks for the blog, is there anyway i can make the image link directly to the post from the News+Media page rather than open up as a lightbox?

    #333708

    Hey!

    Please add this on functions.php:

    add_filter( 'post-format-image', 'avia_image_slideshow_filter_2', 10, 1 );
    
    function avia_image_slideshow_filter_2($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 = get_the_permalink(get_the_ID());
    		$prepend_image = '<div class="avia-post-format-image"><a href="'.$large_image.'">'.$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']  = "";
    		}
    
    	return avia_default_title_filter($current_post);
    }
    

    Best regards,
    Ismael

    #341855
    This reply has been marked as private.
    #341980

    Hi!

    Is the post set to Image post format? The purpose of the code is to set the link of the Image post format to go to the actual post instead of lightbox. Since you paid for the customization, you should probably get your money’s worth. Please contact the freelance developer. It does work on my installation.

    Cheers!
    Ismael

Viewing 16 posts - 1 through 16 (of 16 total)
  • You must be logged in to reply to this topic.