Title: Shortcode Placement
Last modified: August 21, 2016

---

# Shortcode Placement

 *  Resolved [martiniboy](https://wordpress.org/support/users/martiniboy/)
 * (@martiniboy)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/shortcode-placement/)
 * Hi
    Excellent plugin – have been waiting for a good booking plugin. I noticed
   that while using the shortcode it always puts the button/form at the top of the
   post/page. After scouring your code I found where the shortcodes were created
   and if you edit libs/booking-express-class.php on line 336 from
 *     ```
       function bookingXpressShortCode()
       {
         return extract_ShortCodes();
       }
       function bookingXpressShortCode1()
       {
         return extract_ShortCodes1();
       }
       function bookingXpressShortCode2()
       {
         return extract_ShortCodes2();
       }
       function bookingXpressShortCode3()
       {
         return extract_ShortCodes3();
       }
       function bookingXpressShortCode4()
       {
         return extract_ShortCodes4();
       }
       ```
   
 * to
 *     ```
       function bookingXpressShortCode()
       {
   
       ob_start();
       	extract_ShortCodes();
       		$content = ob_get_clean();
       	return $content;
       }
       function bookingXpressShortCode1()
       {
   
       ob_start();
       	 extract_ShortCodes1();
       		$content = ob_get_clean();
       	return $content;
       }
       function bookingXpressShortCode2()
       {
         ob_start();
       	 extract_ShortCodes2();
       		$content = ob_get_clean();
       	return $content; 
   
       }
       function bookingXpressShortCode3()
       {
         ob_start();
       	 extract_ShortCodes3();
       		$content = ob_get_clean();
       	return $content;
       }
       function bookingXpressShortCode4()
       {
         ob_start();
       	 extract_ShortCodes4();
       		$content = ob_get_clean();
       	return $content;
       }
       ```
   
 * it should place the button where the shortcode is placed.
    I hope that helps????
 * In the future are you planning to add the functionality to be able to download
   your bookings by day, ie in the morning download a copy of the days bookings?
 * Great Plugin look forward to seeing it develop
 * [http://wordpress.org/extend/plugins/booking-xpress/](http://wordpress.org/extend/plugins/booking-xpress/)

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

 *  [vive32](https://wordpress.org/support/users/vive32/)
 * (@vive32)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/shortcode-placement/#post-3822296)
 * very very usefull, I have done what you write and works fine thanks.
 *  [Michael26](https://wordpress.org/support/users/michael26/)
 * (@michael26)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/shortcode-placement/#post-3822333)
 * Thank you so much, I was trying to force it down the page with <div> and a host
   of nonsensical rubbish in the hopes it would work. Thank you, made my fucking
   week (a week is how long it would have taken to refresh my php enough to code
   what you have there). Very grateful!
 *  Thread Starter [martiniboy](https://wordpress.org/support/users/martiniboy/)
 * (@martiniboy)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/shortcode-placement/#post-3822340)
 * Glad it was useful!
 *  [lmaccaro](https://wordpress.org/support/users/lmaccaro/)
 * (@lmaccaro)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/shortcode-placement/#post-3822367)
 * I’d like to use a link in my top menu to initiate the BookNow script; can anyone
   point me in the right direction to do that? I can code a little but I’m no expert.
 *  Plugin Contributor [bookingxpress](https://wordpress.org/support/users/bookingxpress/)
 * (@bookingxpress)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/shortcode-placement/#post-3822380)
 * Hello Members,
 * Thanks for using Booking Xpress
 * We request you to leave a good feedback _[moderated]_
 * **Support**

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

The topic ‘Shortcode Placement’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/booking-xpress.svg)
 * [Booking Xpress](https://wordpress.org/plugins/booking-xpress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/booking-xpress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/booking-xpress/)
 * [Active Topics](https://wordpress.org/support/plugin/booking-xpress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/booking-xpress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/booking-xpress/reviews/)

 * 5 replies
 * 5 participants
 * Last reply from: [bookingxpress](https://wordpress.org/support/users/bookingxpress/)
 * Last activity: [12 years, 10 months ago](https://wordpress.org/support/topic/shortcode-placement/#post-3822380)
 * Status: resolved