Support » Plugin: Business Directory Plugin » [Plugin: Business Directory Plugin] Single Listing template

  • Resolved canwild

    (@canwild)


    I am using “businessdirectory-single” as the template to format my display of a single listing. Is this still the correct method under 2.1.2?

    I am using <?php wpbusdirman_single_listing_details(); ?> in my template to display the listing details. However, the Edit Listing and Upgrade Listing buttons are no longer working. Which function should I be calling in 2.1.2 to display the listing details?

    Can you explain how the new “businessdirectory-listing” template is used?

    http://wordpress.org/extend/plugins/business-directory-plugin/

Viewing 2 replies - 1 through 2 (of 2 total)
  • I found “businessdirectory-listing” on line 479 of api.php as part of the “_wpbdp_render_single” function. However, it is called with “false” as one of its parameters so it was not overridden by the custom “businessdirectory-listing” in my template’s /single directory.
    I changed “false” to “true” in line 479 so it used my custom template.

    Plugin Author businessdirectoryplugin

    (@businessdirectoryplugin)

    I have forwarded this to my developer to look at–I think we should probably update the documentation based on your experience so far.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Business Directory Plugin] Single Listing template’ is closed to new replies.