WordPress.org

Forums

Awesome Filterable Portfolio
Remove/disable lightbox (3 posts)

  1. breakstay
    Member
    Posted 1 year ago #

    Hi,

    I am trying to configure the Awesome Portfolio plugin on my work intranet. I am trying to open a document on my network by clicking on the image of the portfolio item instead of the default lightbox appearing with the thumbnail preview of the image. So essentially I would like to replicate the "View Project" link functionality when clicking on the image of the portfolio item

    Every time I left click on the image, the light box opens instead of the file. If I right click and open in new tab, the file opens. How do I get it so that I can left click on the image and it open the file directly?

    Is there any way to get around this? Any help would be greatly appreciated.

    Kind Regards

    Haydn

    https://wordpress.org/plugins/awesome-filterable-portfolio/

  2. AmyZealand
    Member
    Posted 1 year ago #

    Sorry, just subscribing to this thread as I'd also really like to know answer.

  3. AmyZealand
    Member
    Posted 1 year ago #

    Hi, one way to fix this is remove colorbox from the link. If you open the afp.php file and remove class="colorbox" from line 1051, this will make the image link open as the projects page rather than color box (assuming the Image link is set to a projects page in the admin section). This is my page: http://flowingstone.co.nz/projects-3/

    As this will be over-written when the plugin is updated, I've actually created a copy of the plugin and re-named it so the change won't be overwritten. I'm not sure if this is the best method for editing plugins though?

    Hope this helps....

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Awesome Filterable Portfolio
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic