Topic: Removing link from featured items | WP Masonry Layout

Removing link from featured items

Home Forums Lite Version Removing link from featured items

This topic contains 1 reply, has 2 voices, and was last updated by  Masonry Guy 6 months, 1 week ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #14218 Reply

    PhilB

    Hi,

    Im trying to make a grid with the masonry plugin from yourself. Its working fine, but i would like to know if it is possible to remove the link to the post containing the featured image. I want to display the image from a post, but not actually link to that post as there is nothing else there content wise. Thanks

    Phil

    #14242 Reply

    Masonry Guy
    Keymaster

    Hi PhilB,

    For that you need to customize the layout. You can open layout.php from wp-masonry-layout/themes/default and can remove the

    <a href="<?php echo $imageLink; ?>"> and </a> from line 16.

    Thanks

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Removing link from featured items
Your information: