Business Directory Plugin
[resolved] Listing Thumbnail Image Fix (2 posts)

  1. emmills3
    Posted 2 years ago #

    First off, this is a great plugin. It works great and offers some excellent upgrades. However I noticed that the on the listing page, the extra images opened perfectly in the thickbox. However i noticed on the listing page, the image marked as the listing thumbnail does not open in thickbox. Looking at the source I found that the class was just "lightbox" and the rel was "thickbox lightbox fancybox".

    I went into the plugin files > api > templates-ui.php. The arguments for the listing thumbnail are reversed. On line 373, you switch the rel and class order:

    <div class="listing-thumbnail"><a href="%s" rel="%s" class="%s">%s</a></div>


    <div class="listing-thumbnail"><a href="%s" class="%s" rel="%s" >%s</a></div>

    Alternatively, you could just reverse the arguments by switching the order of Lines 375 and 376.


  2. businessdirectoryplugin
    Plugin Author

    Posted 2 years ago #

    Hi emmills3,

    Thanks for the feedback on that. I'll make sure that it gets into the next version.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Business Directory Plugin
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic