Title: Problem with inserting code into directory listing
Last modified: March 17, 2018

---

# Problem with inserting code into directory listing

 *  Resolved [innkeeperea](https://wordpress.org/support/users/innkeeperea/)
 * (@innkeeperea)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/problem-with-inserting-code-into-directory-listing/)
 * I am trying to insert a code so I can put in an availability calendar for each
   innsitter.
    When I just view their form, you can see it but when you view the
   entire directory all you see is the coding. Any way around this Using WP SIMPLE
   BOOKING CALENDAR PLUG IN>
 * I tried making it a separate form field but that didn’t work either.
 * Thank you
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fproblem-with-inserting-code-into-directory-listing%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Business Directory Plugin](https://wordpress.org/support/users/businessdirectoryplugin/)
 * (@businessdirectoryplugin)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/problem-with-inserting-code-into-directory-listing/#post-10088557)
 * Hi [@innkeeperea](https://wordpress.org/support/users/innkeeperea/),
 * Sorry that you ran into issues here!
 * When you say “insert a code”, where are you trying to do this? In what field?
 * BD supports the use of shortcodes in the long description field (only), but only
   if you enable the option to expand shortcodes under Directory Admin->Manage Options,
   Form Fields tab, editing the Long Description field to allow shortcode expansion.
 * If that doesn’t work, it’s possible there’s some kind of conflict going on. Here
   is an article about how to test for theme and plugin conflicts with Business 
   Directory, which may help pinpoint the issue: [http://businessdirectoryplugin.com/support-forum/faq/how-to-check-for-plugin-and-theme-conflicts-with-bd/](http://businessdirectoryplugin.com/support-forum/faq/how-to-check-for-plugin-and-theme-conflicts-with-bd/)
 *  Thread Starter [innkeeperea](https://wordpress.org/support/users/innkeeperea/)
 * (@innkeeperea)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/problem-with-inserting-code-into-directory-listing/#post-10088622)
 * I put the short code for calendar I to the long description
    When I view a specific
   innsitter list the calendar shows up fine But when you view all listings [https://bluemontinluray.com/innsitter/directory/?wpbdp_view=all_listings](https://bluemontinluray.com/innsitter/directory/?wpbdp_view=all_listings)
 * The calendar does not show up.
    Don’t know how to fix it.
 * Also do I set up a personal log in for each innsitter so they can edit their 
   own calendar. I don’t want them to have access to anything but their own calendar
   
   Thanks
 *  Plugin Author [Business Directory Plugin](https://wordpress.org/support/users/businessdirectoryplugin/)
 * (@businessdirectoryplugin)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/problem-with-inserting-code-into-directory-listing/#post-10092973)
 * Hi [@innkeeperea](https://wordpress.org/support/users/innkeeperea/),
 * Yes, the shortcode expansion is only supported on the detail view of the listings
   because of the display space we have available there. Allowing this on the list
   view would not work as well (we’ve tried it) so it’s not available there. That’s
   why you see it differently.
 * For editing the calendar, I don’t know how that other plugins works, so whatever
   they recommend (perhaps a username/password for the user?) to do editing on the
   list view is what you should do.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Problem with inserting code into directory listing’ is closed to new 
replies.

 * ![](https://ps.w.org/business-directory-plugin/assets/icon-256x256.png?rev=2901888)
 * [Business Directory Plugin - Easy Listing Directories for WordPress](https://wordpress.org/plugins/business-directory-plugin/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/business-directory-plugin/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/business-directory-plugin/)
 * [Active Topics](https://wordpress.org/support/plugin/business-directory-plugin/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/business-directory-plugin/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/business-directory-plugin/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Business Directory Plugin](https://wordpress.org/support/users/businessdirectoryplugin/)
 * Last activity: [8 years, 2 months ago](https://wordpress.org/support/topic/problem-with-inserting-code-into-directory-listing/#post-10092973)
 * Status: resolved