Title: shortcodes
Last modified: August 31, 2016

---

# shortcodes

 *  Resolved [great-taste](https://wordpress.org/support/users/great-taste/)
 * (@great-taste)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/shortcodes-199/)
 * Seems that when I use a shortcode to show a calendar by tag the only events that
   are being pulled are those that have the categories selected on the default calendar.
   Is this correct? Is there another piece of code I can add to the shortcode to
   pull from all categories/tags etc.? Seems that in certain versions it pulls from
   all but this version doesn’t work.
    I’m on the latest version of the calendar
   2.3.7 and wordpress 4.4.1. Any suggestions? Thank you, Teri
 * [ai1ec view=”stream” ai1ec display_filters=”false” tag_id=”Mama’s On 39 – Huntington
   Beach” events_limit=”5″]
 * [https://wordpress.org/plugins/all-in-one-event-calendar/](https://wordpress.org/plugins/all-in-one-event-calendar/)

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

 *  Thread Starter [great-taste](https://wordpress.org/support/users/great-taste/)
 * (@great-taste)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/shortcodes-199/#post-6957894)
 * Sorry, I forgot to add that in a previous version, I had found a workaround but
   it’s kind of clunky. I made my default cal page one that didn’t display on the
   frontend that included all tags and cats. Then used shortcode for my actual calendar
   page. In this instance, i was getting memory errors – I think due to the extremely
   long query. Please advise. Thanks again.
    Teri
 *  [Benjamin](https://wordpress.org/support/users/bsokic/)
 * (@bsokic)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/shortcodes-199/#post-6958059)
 * Hi Teri,
 * Please use the following shortcode:
 * `[ai1ec view="stream" ai1ec display_filters="false" tag_id="mamas-on-39-huntington-
   beach" events_limit="5"]`
 * Always use a slug in shortcode, not the name.
 *  Thread Starter [great-taste](https://wordpress.org/support/users/great-taste/)
 * (@great-taste)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/shortcodes-199/#post-6958101)
 * Thank you so much for trying Benjamin but unfortunately when I tried that still
   no results. If I add a category from my default calendar inclusions to the event,
   it does shows up. For some reason, it seems to be pulling from the default cats
   only. Please advise if you can find additional advice.
    Best, Teri
 *  [Pavel](https://wordpress.org/support/users/uchu/)
 * (@uchu)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/shortcodes-199/#post-6958276)
 * Hi Teri,
 * Calendar embedded via a shortcode pulls its data from the main calendar. So it
   can’t load anything that is not displayed there. Thank you for pointing on this
   limitation! Perhaps, we need to change the way it works a bit. I raised a new“
   idea/bug” here: [http://ideas.time.ly/ideas/CAL-I-150](http://ideas.time.ly/ideas/CAL-I-150)
   Please, vote for it or add comments there – that will help us to collect more
   information about the issue and to decide how to prioritise it. I’m resolving
   this topic just to move the discussion there, if you don’t mind.
 * About the memory peaks. It shouldn’t happen in general, even if you have a lot
   of categories. Do you select all categories there? If so, just try to deselect
   them all, please. That will include them all but will be less resource demanding.
 * Thanks a lot, hope we’ll get it fixed soon!
    Pavel.

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

The topic ‘shortcodes’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/all-in-one-event-calendar.svg)
 * [Timely All-in-One Events Calendar](https://wordpress.org/plugins/all-in-one-event-calendar/)
 * [Support Threads](https://wordpress.org/support/plugin/all-in-one-event-calendar/)
 * [Active Topics](https://wordpress.org/support/plugin/all-in-one-event-calendar/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/all-in-one-event-calendar/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/all-in-one-event-calendar/reviews/)

## Tags

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

 * 4 replies
 * 3 participants
 * Last reply from: [Pavel](https://wordpress.org/support/users/uchu/)
 * Last activity: [10 years, 1 month ago](https://wordpress.org/support/topic/shortcodes-199/#post-6958276)
 * Status: resolved