• Resolved Jubawa

    (@justinw0918)


    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://ww.wp.xz.cn/plugins/game-schedules/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter Jubawa

    (@justinw0918)

    <?php echo do_shortcode('[mstw_gs_table show_media=0 show_location=0 sched="1"]'); ?>

    worked!

    Plugin Author Mark O’Donnell

    (@markodonnell)

    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

    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

    (@justinw0918)

    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

    (@markodonnell)

    Ok, thanks.

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

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