Forum Replies Created
-
AuthorPosts
-
January 31, 2012 at 9:28 am in reply to: rss or iCal event syndication between calendar pro installs? #14436
Jonah
ParticipantYou’re welcome IT, hope it works out!
Jonah
ParticipantHi hc2ca,
On #1, it’s possible but complicated and we won’t be able to provide a solution. You’d need to override the default widget code as talked about here: https://theeventscalendar.com/how-to-completely-customize-widgets/- and then you’d need to call a different admin-views/widget-admin-advanced-list.php file from the widget…
On #2, first make a copy of /wp-content/plugins/the-events-calendar/resources/events.css and place in an ‘events’ folder in your theme. Then on line 418, change the declaration from:
.eventsListWidget li, .singular.page li.hentry, .eventsAdvancedListWidget li, .singular.page li.hentry {
margin: 6px 0 !important;
padding: 0 0 10px 0 !important;
}
to:
.eventsListWidget li, .singular.page li.hentry, .eventsAdvancedListWidget li, .singular.page li.hentry {
list-style: none;
margin: 6px 0 !important;
padding: 0 0 10px 0 !important;
}
Jonah
ParticipantGreat to hear, let us know if you need anything else with this.
– Jonah
January 31, 2012 at 8:50 am in reply to: Select multiple categories in upcoming events widget #14430Jonah
ParticipantHey Mike,
This is on our roadmap. It might make it into 2.1 but no guarantees.
Thanks,
JonahJanuary 31, 2012 at 8:47 am in reply to: Change date format to remove year and put date on one line and time on 2nd line #14429Jonah
ParticipantHi Lynne, you’ll want to modify /wp-content/plugins/the-events-calendar/views/single.php – first make a duplicate copy and place in an ‘events’ folder in your theme and then hack away!
Jonah
ParticipantAwesome!
Jonah
ParticipantHave you tried this: https://theeventscalendar.com/fix-deployed-for-broken-webcal-import-in-2-0-3/
January 31, 2012 at 8:44 am in reply to: rss or iCal event syndication between calendar pro installs? #14426Jonah
ParticipantHi IT, not built into the plugin but I would suggest checking out the FeedWordPress plugin (http://wordpress.org/extend/plugins/feedwordpress/). It will give you the ability to syndicate RSS feeds into your site from anywhere and utilize controls as to how those posts are imported.
I hope that helps,
JonahJonah
ParticipantHi Perry,
Try adding this to your functions.php file:
function exclude_from_search($query) {
if ($query->is_search) {
$query->set('post_type', 'post');
}
return $query;
}
add_filter('pre_get_posts','exclude_from_search');
Jonah
ParticipantHey Trevor,
You should be able to do this by editing table.php like you suspected. First make a duplicate copy and place in an ‘events’ folder in your theme if you don’t already have one. Then on line 20 modify:
$eventPosts = tribe_get_events(array( 'eventDisplay'=>'month' ));
to:
$eventPosts = tribe_get_events(array(
'eventDisplay'=>'month',
'tax_query'=>array(
array(
'taxonomy' => 'tribe_events_cat',
'field' => 'id',
'terms' => 4,
'operator' => 'IN'
)
)
));
Where ‘4’ for terms is the ID of your event category you want to include.
Jonah
ParticipantHi Bjorn, unfortunately this would involve a fair amount of customization and is beyond the type of support we can provide. Good luck figuring it out!
Jonah
ParticipantHey Ruben, can you paste this code @ http://pastebin.com/ – hard to read here…
You needed to add the first code to your functions.php file and the second CSS code would go into your events.css or style.css stylesheet files.
Jonah
ParticipantHey Brad,
I see what you’re getting at but I can’t get that to work. I modified it a bit so it uses the is_tax conditional instead: http://pastebin.com/haEzrjBM
But, maybe that’s wrong… Sorry, I can’t spend any more time on this as it’s a customization but you may be on to something. Let us know what you find.
My code that I posted earlier does work for me although I noticed a slight mistype, make sure to add a forward slash after category in the URL…
Regards,
JonahJonah
ParticipantYeah you should. By editing the .htaccess is one way. Most shared hosts let you do this. But if that doesn’t work or you don’t know how to do that, contact them and ask them how…
Jonah
ParticipantOn #1 and #2/3/4 there’s an existing ticket for this which we hopefully will have resolved in 2.1 or shortly thereafter. Let me know if you need anything else with this.
Cheers,
Jonah -
AuthorPosts
