WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. emmills3
    Member
    Posted 5 months 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>

    to

    <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.

    https://wordpress.org/plugins/business-directory-plugin/

  2. businessdirectoryplugin
    Member
    Plugin Author

    Posted 5 months ago #

    Hi emmills3,

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

Reply

You must log in to post.

About this Plugin

About this Topic