Viewing 1 replies (of 1 total)
  • Gemfruit

    (@gemfruit)

    Are you using the function do_shortcode() ?

    Simply writing out the shortcode, like below, won’t work:

    [ai1ec view='posterboard']

    You need:

    echo(do_shortcode("[ai1ec view='posterboard']"));

    If you’re trying to use the shortcode in a text widget, you’ll need to add this filter in your functions.php file:

    add_filter('widget_text', 'do_shortcode');

Viewing 1 replies (of 1 total)
  • The topic ‘Shortcode to view events in other page’ is closed to new replies.