Clickable image in portfolio template

Support Area Forums Photobug Clickable image in portfolio template

This topic contains 3 replies, has 2 voices, and was last updated by  Bill Robbins 4 years, 2 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
URL to the page in question:
  • Author
    Posts
  • #13511

    Rebecca Morency
    Participant

    Hi Bill,

    I love the way the images piece together on your portfolio template. Is there any way to make the items click to an interior page instead of enlarging the image?

    Thanks,

    Becky

    #13512

    Bill Robbins
    Moderator

    Good question. You can do that if you’d like to. Here’s what you’ll need to do:

    1. Go to the Appearance section in your WordPress control panel and select Edit.
    2. From the list of files on your right, choose page-portfolio.php
    3. Find this spot:
      
      <?php do_action('organizedthemes_gallery_format'); //located in includes/gallery-portfolio.php ?>
      
    4. Replace that with this:

    5. Save your changes.
    6. Next edit the gallery-portfolio.php file.
    7. Scroll down to the very bottom and paste this:
    8. Save your changes.

    That should let the images in your portfolio link to the “attachment page” instead of opening up in a lightbox.

    If you have any trouble, let me know,
    Bill

    #13531

    Rebecca Morency
    Participant

    Thanks, Bill.

    That worked perfectly. The home page is now a clickable portfolio page as envisioned.

    Enjoy the weekend with the family.

    Regards,

    Becky

    #13532

    Bill Robbins
    Moderator

    Always glad to help. Enjoy your holiday weekend too!

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

The topic ‘Clickable image in portfolio template’ is closed to new replies.