WordPress.org

Ready to get started?Download WordPress

Forums

Business Directory Plugin
[resolved] Mutli Post Type Display (8 posts)

  1. Manoj Trivand
    Member
    Posted 6 months ago #

    Hi,

    I am using this plugin in my site, currently this plugin display the post with post_type = wpbdp_listing... now i need to add another custom post type upload and display...
    if possible how do i do it?

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

  2. businessdirectoryplugin
    Member
    Plugin Author

    Posted 6 months ago #

    Hi Manoj,

    Custom post types are a way within WordPress to display something with a custom look and feel. Business Directory plugin uses CPT's, but we don't provide a way to add your own. That's something you'd have to add by hacking the plugin or building something on your own. It's not a small thing to do.

  3. Manoj Trivand
    Member
    Posted 6 months ago #

    okay thank you,

    I would also like to know one more tweaking, i need to know the work flow of the "submit a business listing", since the new updated plugin is working around api, i am not able to locate the files. So it would be kind of you to tell where we can find the submit business listing related files.

  4. Manoj Trivand
    Member
    Posted 6 months ago #

    to be clear , i need to change the post type during submitting a listing..

  5. businessdirectoryplugin
    Member
    Plugin Author

    Posted 6 months ago #

    Hi Manoj,

    The files involved are fairly numerous and changing the workflow is a fairly large change--it's not just a couple of files. The best thing I can suggest is to make yourself familiar with the codebase of the plugin, because changing files without understanding the larger context would probably result in in bad behavior in the plugin.

    If you change our post type during the submit of a listing, this will most likely break other parts of the plugin that are searching for posts specifically of that type (e.g. the widgets, the search screens) so this change needs to be considered in a larger context.

  6. Manoj Trivand
    Member
    Posted 6 months ago #

    i know, i have taken care of the other parts, i just need the submit listing post type to be changed to "my custom post type" instead of "wpbdp_listings".... it would be very helpful if you could tell me where to change..

  7. businessdirectoryplugin
    Member
    Plugin Author

    Posted 6 months ago #

    I don't know where off hand, if you search the codebase for that string (wpbdm_listing) you should find the relevant places, but this could completely break the plugin, as I mentioned above.

  8. Manoj Trivand
    Member
    Posted 6 months ago #

    okay cool

Reply

You must log in to post.

About this Plugin

About this Topic