Business Directory Plugin
[resolved] Single Listing template (3 posts)

  1. canwild
    Posted 3 years ago #

    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?


  2. canwild
    Posted 3 years ago #

    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.

  3. businessdirectoryplugin
    Plugin Author

    Posted 3 years ago #

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

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


No tags yet.