Home › Forums › Calendar Products › Events Calendar PRO › Categories in different widgets
- This topic has 3 replies, 2 voices, and was last updated 11 years, 5 months ago by
Geoff.
-
AuthorPosts
-
November 16, 2014 at 11:25 am #887043
delovoysaratov
ParticipantHi, guys!
I have two questions ๐
1) I have a category of events – birthdays, holidays – which I’d like to show ONLY in list widget close to the footer of site (so they can be invisible in main calendar page, and calendar-widget). My calendar, and mini-calendar widget consists of business events – so i dont want to mix them with holidays. Is it possible?2) Sometimes one day in calendar have more than 10 events, but in calendar-widget user can see only five. Can i change this quantity, or for example make a link to current day? (ex: see all events ..). Not all users so smart to click on main calendar link to see all events ))
Thanks! ๐
November 17, 2014 at 9:33 am #887945Geoff
MemberHi there,ย Artem! Thanks for getting in touch and welcome to the forums. We hope you’re enjoying the plugins so far. ๐
Great questions. Let’s see if we can tackle them one at a time.
1) I have a category of events โ birthdays, holidays โ which Iโd like to show ONLY in list widget close to the footer of site (so they can be invisible in main calendar page, and calendar-widget). My calendar, and mini-calendar widget consists of business events โ so i dont want to mix them with holidays. Is it possible?
If I’m following you correctly, you want to exclude certain categories in the main calendar and show them in the footer using the Event List widget instead.
Excluding categories from the main calendar is possible, but will take some custom development on your end. Here is a snippet that might help you do that.
The Event List widget does give you the ability to filter which events to display based on category. If you head over to your Appearance > Widgets settings and place the Events List widget in your footer sidebar, you can set the filters in the settings for that widget. Here’s a screenshot of what you’ll look for. By the way, it does accept multiple filters. ๐
2) Sometimes one day in calendar have more than 10 events, but in calendar-widget user can see only five. Can i change this quantity, or for example make a link to current day? (ex: see all events ..). Not all users so smart to click on main calendar link to see all events ))
You could force the widget to show more than 10 events at a time by adding this snippet to your theme’s functions.php file. This increases the number to 15, but you can change the snippet to any number you want. Note that the options in your widget settings will still say 10, even though you are forcing it to show more.
Does this help answer your questions? Please let me know. ๐
Cheers!
GeoffNovember 24, 2014 at 10:11 am #897220Geoff
MemberHi there, Artem!ย Just checking in to see if thereโs been any further update or if you still need assistance on this one–let me know. ๐
I realized I never posted a link to the snippet to your second question about showing more events in the List Widget. Whoops! Here it is:ย http://pastebin.com/Z3J6qw4i
Cheers!
GeoffDecember 2, 2014 at 9:22 am #905334Geoff
MemberHey there, Artem! It’s been a while so I’m going to go ahead and close this thread. If we can help with anything else, though, please don’t hesitate to open a new thread. We’d be happy to help. ๐
Cheers!
Geoff -
AuthorPosts
- The topic ‘Categories in different widgets’ is closed to new replies.
