Comments 1trinews started the conversationJune 23, 2020 at 11:55amThere are a lot of shortcodes, which I couldn't find in the documents. Is there also a shortcode to display only one or selected events?Like the "cal" parameter, but maybe just with eventid?thanksStefan 877Zhivko repliedJune 23, 2020 at 8:31pmThere's no option to select certain events only but you can display events from certain categories.Example: [stachethemes_ec cat=1,2,3]If this doesn't work for you I'll look for alternative. Stachethemes Developer 1trinews repliedJune 25, 2020 at 4:55amThanks,no, at the moment this is not working for me, as I am looking to include one single event into a blog post, when writing a story about the event :-) 877Zhivko repliedJune 26, 2020 at 10:52amI've written small extension that will add new attribute to the shortcode with which you can specify which events to display.Place the code from the text file to your theme/child-theme functions.php file.Shortcode examples: [stachethemes_ec eids=1] [stachethemes_ec eids=1,2,3]where 1,2,3 are event id numbers. Stachethemes Developer 1trinews repliedJune 26, 2020 at 6:03pmAmazing, thanks for your great work!two points:-> when the event is not in the current month, it is not displayed. It's only displayed, when the month, in which the event is happening is selected. The events, selected in the shortcut should always be listed ;-)-> how can we support your work?thanks 877Zhivko repliedJune 30, 2020 at 6:31pmSorry for the delay. You could set start_date attribute for the calendar. So if your event starts in July you can set it like this: [stachethemes_ec eids=1 start_date=2020-07-01] The date must be in format YYYY-MM-DD how can we support your work?Thank you for considering supporting us! You could rate/write a review for the calendar at codecanyon.net Stachethemes Developerzacharybaehr repliedJuly 6, 2020 at 6:59pmIs this all the shortcode for stache - https://stachethemes.ticksy.com/article/13221/ -? Or is there a list of shortcodes others have used and made work with Stache?Thanks.Zachary 877Zhivko repliedJuly 7, 2020 at 3:05pmCurrently there's 1 shortcode to display the calendar [stachethemes_ec].There are more attributes that are not listed there. I'll update the article soon and include them all.Are you looking for something specific? Stachethemes Developerzacharybaehr repliedJuly 7, 2020 at 3:11pmI'd like to be able to control the size of a thumbnail, or have the items offset (like skip the next two events), and hide certain tools.But mostly I want to see what others have used so I can borrow their creativity. Thanks. 877Zhivko repliedJuly 7, 2020 at 3:28pmIf you're talking about the thumbs that appear to the left of the event preview - no, they can't be controlled via shortcode. You can set min/max date ranges for the events via attributes min_date / max_date. Example: [stachethemes_ec min_date=2020-01-01 max_date=2020-01-31]This parameter can be found in the article as well for more values (this_week etc...)For tools - you can hide the search and filter buttons. Example: [stachethemes_ec show_search=0 show_calfilter=0]I don't know what you want to achieve visually so I can't tell you if it's possible via attribute or filter. Stachethemes Developer Sign in to reply ...
There are a lot of shortcodes, which I couldn't find in the documents. Is there also a shortcode to display only one or selected events?
Like the "cal" parameter, but maybe just with eventid?
thanks
Stefan
There's no option to select certain events only but you can display events from certain categories.
Example:
If this doesn't work for you I'll look for alternative.
Stachethemes Developer
Thanks,
no, at the moment this is not working for me, as I am looking to include one single event into a blog post, when writing a story about the event :-)
I've written small extension that will add new attribute to the shortcode with which you can specify which events to display.
Place the code from the text file to your theme/child-theme functions.php file.
Shortcode examples:
where 1,2,3 are event id numbers.
Stachethemes Developer
Amazing, thanks for your great work!
two points:
-> when the event is not in the current month, it is not displayed. It's only displayed, when the month, in which the event is happening is selected. The events, selected in the shortcut should always be listed ;-)
-> how can we support your work?
thanks
Sorry for the delay.
You could set start_date attribute for the calendar.
So if your event starts in July you can set it like this:
The date must be in format YYYY-MM-DD
how can we support your work?Thank you for considering supporting us! You could rate/write a review for the calendar at codecanyon.net
Stachethemes Developer
Is this all the shortcode for stache - https://stachethemes.ticksy.com/article/13221/ -? Or is there a list of shortcodes others have used and made work with Stache?
Thanks.
Zachary
Currently there's 1 shortcode to display the calendar [stachethemes_ec].
There are more attributes that are not listed there. I'll update the article soon and include them all.
Are you looking for something specific?
Stachethemes Developer
I'd like to be able to control the size of a thumbnail, or have the items offset (like skip the next two events), and hide certain tools.
But mostly I want to see what others have used so I can borrow their creativity. Thanks.
If you're talking about the thumbs that appear to the left of the event preview - no, they can't be controlled via shortcode.
You can set min/max date ranges for the events via attributes min_date / max_date. Example:
This parameter can be found in the article as well for more values (this_week etc...)
For tools - you can hide the search and filter buttons. Example:
I don't know what you want to achieve visually so I can't tell you if it's possible via attribute or filter.
Stachethemes Developer