Home Forums Bee WordPress Theme Masonry blog view images link to post

This topic contains 2 replies, has 2 voices, and was last updated by  yuravw 3 years, 5 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1735

    yuravw
    Participant

    I have on my home page a Masonry blog view. When I click on the image the image is shown in a lightbox. But I want to go direct to the post. I nwant when I click on the image to go to the post. Is that possible?

    #1749

    Johnny
    Participant

    hi, please open file bee/functions/functions-view-module.php and find this line:
    <a href="<?php echo $thumb_src_full[0]; ?>" class="lightbox" rel="post<?php the_ID(); ?>" title="<?php the_title(); ?>"><img alt="<?php the_title(); ?>" src="<?php echo $thumb_src_360[0]; ?>" ></a>
    change it to:
    <a href="<?php the_permalink(); ?>" rel="post<?php the_ID(); ?>" title="<?php the_title(); ?>"><img alt="<?php the_title(); ?>" src="<?php echo $thumb_src_360[0]; ?>" ></a>,
    Best

    #1757

    yuravw
    Participant

    Great, ik works. Thanks!

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.