Title: [event_blocks event=&#8221;&#8221;] Shortcode Bug
Last modified: February 19, 2018

---

# [event_blocks event=””] Shortcode Bug

 *  [tchop](https://wordpress.org/support/users/tchop/)
 * (@tchop)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/event_blocks-event-shortcode-bug/)
 * G’day,
    I’ve come across a bug with the [events_block] shortcode. It will only
   display publicly with the ‘ID’ variable. When ‘Event’ is used it is only visible
   to Admin users. The table is still created for all users – its just that the 
   content isn’t populated into the table.
 * As suggested here for single events ([https://support.themeboy.com/article/106-event-blocks-shortcode](https://support.themeboy.com/article/106-event-blocks-shortcode)),
   the Event version of the shortcode is far more useful. Are you able to suggest
   a quick fix for this, or add it to the next update?
 * Kind regards,
    TCHOP

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

 *  [Roch](https://wordpress.org/support/users/rochesterj/)
 * (@rochesterj)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/event_blocks-event-shortcode-bug/#post-9994343)
 * Hi there!
 * Thanks for reaching out and I’m sorry for the trouble.
 * My name is Roch and I’m going to help you with your plugin support issues.
 * Would you mind sending us a link to your site? Maybe we can see some metadata
   about your shortcode and why it isn’t loading any content.
 * We have no reports of other users facing the same issue, so this could be isolated
   to your install.
 * Thanks!
 *  Thread Starter [tchop](https://wordpress.org/support/users/tchop/)
 * (@tchop)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/event_blocks-event-shortcode-bug/#post-9994467)
 * Hi,
 * Thanks for getting back to me so quickly.
 * I’ve just modified the below page to demonstrate the issue. I’ve tried it on 
   a number of test WP sites that I have and the bug appears on them all.
 * There are three widgets across the top of this page. The first one is just a 
   custom html box. The middle one is using the Event Blocks widget and the third
   is calling the [event-blocks event=””] shortcode. I’m not worried about the style–
   just why the shortcode is restricted to only admins.
 * This is what the page looks like for admins:
    [http://tchopstudios.com/eaglesfc/wp-content/uploads/screenshot.png](http://tchopstudios.com/eaglesfc/wp-content/uploads/screenshot.png)
 * This is a link to the page for public view:
    [http://tchopstudios.com/eaglesfc/](http://tchopstudios.com/eaglesfc/)
 * The page has no restrictions.
 * Thanks for your help,
    TCHOP
 *  [Roch](https://wordpress.org/support/users/rochesterj/)
 * (@rochesterj)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/event_blocks-event-shortcode-bug/#post-9998491)
 * Hi!
 * Thanks a lot for that!
 * It looks like you are using a custom theme. How it works when you use Rookie 
   or another default theme (such as twenty seventeen)?
 * Thanks!
 *  Thread Starter [tchop](https://wordpress.org/support/users/tchop/)
 * (@tchop)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/event_blocks-event-shortcode-bug/#post-9999030)
 * Hi Roch,
 * Please see below for a fresh installation of wordpress with the twenty seventeen
   theme running without any customisation.
 * The same bug occurs for the [event_blocks event””] shortcode as mentioned above.
   Displays for Admin, but is not visible for any other users.
 * [http://www.tchopstudios.com/onenight/event-test/](http://www.tchopstudios.com/onenight/event-test/)
 * Kind regards,
    TCHOP

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

The topic ‘[event_blocks event=””] Shortcode Bug’ is closed to new replies.

 * ![](https://ps.w.org/sportspress/assets/icon-256x256.png?rev=1252005)
 * [SportsPress - Sports Club & League Manager](https://wordpress.org/plugins/sportspress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/sportspress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/sportspress/)
 * [Active Topics](https://wordpress.org/support/plugin/sportspress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/sportspress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/sportspress/reviews/)

## Tags

 * [event blocks](https://wordpress.org/support/topic-tag/event-blocks/)

 * 4 replies
 * 2 participants
 * Last reply from: [tchop](https://wordpress.org/support/users/tchop/)
 * Last activity: [8 years, 3 months ago](https://wordpress.org/support/topic/event_blocks-event-shortcode-bug/#post-9999030)
 * Status: not resolved