Posted: February 19, 2014 at 12:33 am
|
Hello, So i created a categori html & css which have the event category id html-css-1384941851. I want that category to appear in the calandar, and only that one. Here is a shortcode that should be able to do just that. I put in the category event id, and put the shortcode in a regular page. The calandar are showing all events, and not the one i want. Any ideas? |
|
Hi, The only thing I can think of is a typo error in the id or shortcode. I tested out a category with the same name and it worked flawlessly. |
|
Yea hehe but thats not the case ๐ I tried with several different event categori idยดs. The one i posted is actually also one that i had, at that giving time. Dean i think you have access to my site, i know i send an email. Be my guest though, i created a page called “kalender” which is danish for “calendar”. On that page there is the shortcode and stuff that you need. Again if you want to take a look at it, let me know. ๐ |
|
OK, I’ve fixed this. The calendar shortcode had got corrupted by some span tags (this was only visible via the TEXT tab). I have set it back to the correct structure and tested it, it’s fine. It currently does not have a category attached to it. |
|
Ok so you made an edit to which file? Or ? ๐ |
I didn’t work on this but it sounds like the change was made within the ‘kalender’ page itself where the [ESPRESSO_CALENDAR] shortcode was in use. As an example, here is your shortcode within the page editor (on a test site) in visual mode http://take.ms/KCod2 All looks fine, correct? Now switch to Text mode…. Notice the span tags? These are not displayed within visual mode, but will break the shortcodes functionality (as the function that parses the shortcode can see them and as they are not expected, ignores the content) When pasting shortcodes I would advise you to do so within the Text tab and check no formatting content is also pasted into the editor around/within the shortcode to prevent this in the future. Hope that helps. |
|
|
You know, weird things happen when code happens. I totally forgot about that visual and text mode. ๐ Thanks |
The support post ‘Calender shortcode event category id not working’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.