Business Directory Plugin
[resolved] Edit Listings for Admin (3 posts)

  1. ghabdel
    Posted 2 years ago #


    Let me begin by saying : Thank you for this excellent plugin!
    Hopefully i can explain my question. For "Listings a directory" even if an admin posted the listing it shows as "pending", so I changed to publish but I have the issue of every listing will be published, and I don't want that. So I need to add this feature in the plugin, can you please show me which php files should I edit in order to add this feature?



  2. businessdirectoryplugin
    Plugin Author

    Posted 2 years ago #

    Hi ghabdel,

    I'm not sure I quite follow. Listings in BD *must* be public and published to be visible on the front end. They are essentially WP posts at their core, and this is standard WP behavior--publish a post to see it.

    Can you explain what kind of behavior you're looking for here by walking me through your workflow and why that's necessary? Maybe I just don't understand quite what you need, or perhaps there's a better way to do it.

  3. ghabdel
    Posted 2 years ago #

    Listing in BD it is public, for a normal scenario where someone create listings in the BD, it goes to "Pending" until the admin publish it which is normal, what I wanted is, if an "admin" makes the listing, what's the point of doing it in the frontend and going back to the Backend to publish it. So I've made some changes in "Listing.php" to make that happen.


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