Title: Shortcode not displaying table
Last modified: August 21, 2016

---

# Shortcode not displaying table

 *  Resolved [Jubawa](https://wordpress.org/support/users/justinw0918/)
 * (@justinw0918)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/shortcode-not-displaying-table/)
 * I am trying to get the game schedules plugin to display the table/schedule I 
   created.
 * When I paste the short code, I do not see the table but rather the shortcode 
   text.
 * Is there anything else that needs to be activated within wordpress in order to
   see the schedule? The reason I ask is that I am using this plugin in a non-widgetized
   custom theme and I am wondering if I need to enable something in order to see
   it.
 * `[mstw_gs_table show_media=0 show_location=0 sched="1"]`
 * Thanks.
 * [http://wordpress.org/plugins/game-schedules/](http://wordpress.org/plugins/game-schedules/)

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

 *  Thread Starter [Jubawa](https://wordpress.org/support/users/justinw0918/)
 * (@justinw0918)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/shortcode-not-displaying-table/#post-4141806)
 * `<?php echo do_shortcode('[mstw_gs_table show_media=0 show_location=0 sched="
   1"]'); ?>`
 * worked!
 *  Plugin Author [Mark O’Donnell](https://wordpress.org/support/users/markodonnell/)
 * (@markodonnell)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/shortcode-not-displaying-table/#post-4141900)
 * Hey Justin,
    Glad you got it fixed but I’m interested in what, exactly, were 
   you trying to do? Use the shortcode in a text widget? (There can be issues with
   this.) Or just use the shortcode on a page? If on a page, did you by chance put
   the shortcode on the VISUAL tab instead of the TEXT/HTML tab? That’s the only
   time I’ve seen such behavior. It’s possible that your theme has never enabled
   shortcodes. You might take a look at this article:
 * [http://stackoverflow.com/questions/9820190/enable-shortcodes-in-a-wordpress-theme](http://stackoverflow.com/questions/9820190/enable-shortcodes-in-a-wordpress-theme)
 * Something like
 * `add_filter( 'the_content', 'do_shortcode' );`
 * in the theme’s `functions.php` might do the trick as well.
 * Regards,
    -Mark
 *  Thread Starter [Jubawa](https://wordpress.org/support/users/justinw0918/)
 * (@justinw0918)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/shortcode-not-displaying-table/#post-4142050)
 * Hey Mark,
 * I was using it in a specific location on my custom theme, it was just showing
   up as text since I forgot to use the proper syntax:
 * `<?php echo do_shortcode(); ?>`
 * I was just pasting the short code right into the html like so:
 *     ```
       <div class='schedule_box'>
       [shortcode here]
       </div>
       ```
   
 *  Plugin Author [Mark O’Donnell](https://wordpress.org/support/users/markodonnell/)
 * (@markodonnell)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/shortcode-not-displaying-table/#post-4142052)
 * Ok, thanks.

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

The topic ‘Shortcode not displaying table’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/game-schedules_f8f8f8.svg)
 * [Game Schedules](https://wordpress.org/plugins/game-schedules/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/game-schedules/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/game-schedules/)
 * [Active Topics](https://wordpress.org/support/plugin/game-schedules/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/game-schedules/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/game-schedules/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [Mark O’Donnell](https://wordpress.org/support/users/markodonnell/)
 * Last activity: [12 years, 8 months ago](https://wordpress.org/support/topic/shortcode-not-displaying-table/#post-4142052)
 * Status: resolved