WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Listing Thumbnail Image Fix

[Resolved] Listing Thumbnail Image Fix

  • 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/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘[Resolved] Listing Thumbnail Image Fix’ is closed to new replies.