Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Business Directory Plugin

    (@businessdirectoryplugin)

    Hi genevish-graphics,

    Our custom post type is “wpbdm_listings” I believe. Maybe it’s “wpbdm-listings” (I get them mixed up sometimes). But one of those two is correct and should get you what you want.

    Thread Starter Emily G

    (@genevish-graphics)

    Hmmm I tried both and no dice. Any ideas? The widget area shows up fine on the posts.

    Plugin Author Business Directory Plugin

    (@businessdirectoryplugin)

    Gak! I gave you the wrong one.

    It’s here:
    define( ‘WPBDP_POST_TYPE’, ‘wpbdp_listing’ );

    I should have just asked my developer the first time. ?? Sorry.

    Thread Starter Emily G

    (@genevish-graphics)

    I tried the wpbdp_listing and it still doesnt work, do I have to call the psot type in my function via register_post_type()

    Plugin Author Business Directory Plugin

    (@businessdirectoryplugin)

    It’s possible that our plugin and that plugin above you’re using may not be compatible. But that custom post type is now correct (since I pulled it from the source code)

    Can I ask what exactly you want to do with this other plugin? It’s not clear from the description above what you’re trying to accomplish. Maybe there’s a different/better way?

    Hey Dave – so I used the conditional is_single() and that shows the new widget under the directory listings but does NOT show them on regular post pages. Not sure why since the wordpress conditional is for all posts.

    Plugin Author Business Directory Plugin

    (@businessdirectoryplugin)

    Hi genevishgraphics,

    I’m still not clear on what you’re trying to do here. Can you provide the answers to my questions here, so perhaps I can guide you better?

    Can I ask what exactly you want to do with this other plugin? It’s not clear from the description above what you’re trying to accomplish. Maybe there’s a different/better way?

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Custom Post Type’ is closed to new replies.