Title: wpb_wrapper generate empty pre tag
Last modified: August 31, 2016

---

# wpb_wrapper generate empty pre tag

 *  Resolved [fersamp](https://wordpress.org/support/users/fersamp/)
 * (@fersamp)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/wpb_wrapper-generate-empty-pre-tag/)
 * Hi everyone,
    I used this custom shortcode
 *     ```
       function display_custom_events( $attr, $content = null ) {
       	echo do_shortcode('[events_list scope="' . $content. '" limit=5 pagination=1 ][/events_list]');
       	return '';
   
       }
       add_shortcode('custom_events', 'display_custom_events');
       ```
   
 * That simply invoke the Events Manager shortcode ‘[events_list scope=”####” limit
   =5 pagination=1 ][/events_list]’
 * This creates a pre tag in wpb_wrapper:
 *     ```
       <div class="wpb_wrapper">
       			<pre></pre>
   
       		</div>
       ```
   
 * and a blank orrible space is added to my events list.
 * How can I remove this pre tag and the space?
 * Thank you
 * [https://wordpress.org/plugins/events-manager/](https://wordpress.org/plugins/events-manager/)

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

 *  [caimin_nwl](https://wordpress.org/support/users/caimin_nwl/)
 * (@caimin_nwl)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/wpb_wrapper-generate-empty-pre-tag/#post-7091980)
 * Hi,
 * This sounds like a possible conflict caused by your theme or another plugin. 
   To check if it is, can you test with all other plugins deactivated and while 
   running the default WordPress theme?
 *  Thread Starter [fersamp](https://wordpress.org/support/users/fersamp/)
 * (@fersamp)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/wpb_wrapper-generate-empty-pre-tag/#post-7092069)
 * Hi,
    I deactivated all plugins but space is still there. I changed my theme to
   fifteen, space survives 🙂
 * [https://www.dayroma.it/wp-content/uploads/2016/02/space.png](https://www.dayroma.it/wp-content/uploads/2016/02/space.png)
 * uff…I don’t know how to remove it.
 *  [caimin_nwl](https://wordpress.org/support/users/caimin_nwl/)
 * (@caimin_nwl)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/wpb_wrapper-generate-empty-pre-tag/#post-7092105)
 * Can you post a live link?
 *  Thread Starter [fersamp](https://wordpress.org/support/users/fersamp/)
 * (@fersamp)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/wpb_wrapper-generate-empty-pre-tag/#post-7092125)
 * Hi caimin_nwl,
    I set 15th theme and deactivate all plugins, except EM.
 * Here my home page [http://www.dayroma.it/](http://www.dayroma.it/)

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

 The topic ‘wpb_wrapper generate empty pre tag’ is closed to new replies.

 * ![](https://ps.w.org/events-manager/assets/icon-256x256.gif?rev=3711454)
 * [Events Manager - Calendar, Bookings, Tickets, Appointments and more!](https://wordpress.org/plugins/events-manager/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/events-manager/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/events-manager/)
 * [Active Topics](https://wordpress.org/support/plugin/events-manager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/events-manager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/events-manager/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [fersamp](https://wordpress.org/support/users/fersamp/)
 * Last activity: [10 years, 7 months ago](https://wordpress.org/support/topic/wpb_wrapper-generate-empty-pre-tag/#post-7092125)
 * Status: resolved