Forum Replies Created
-
AuthorPosts
-
August 6, 2012 at 9:52 pm in reply to: Again: Can I delete individual instances of a recurring event? #23329
Andy Fragen
ModeratorI literally just did this 3 minutes ago. From the ‘Edit Events’ page or ‘Events’ page in “/wp-admin/edit.php?post_type=tribe_events”, find the individual event you wish to delete and select the Trash link. Select ‘Delete only this events’ from the dialog that follows.
Andy Fragen
ModeratorAndy Fragen
ModeratorIt seems to be populating from the function tribe_meta_event_cats, I don’t know where it is but it’s likely there’s no override as it’s in the core somewhere.
Andy Fragen
ModeratorOops, the above will remove it entirely. Look in your /resources/views/single.php, copy it to your theme/events/ directory and I believe you’ll find the code in that file to remove the hyperlink from the category.
Andy Fragen
ModeratorTry adding the following to your CSS.
dt.category-label, dd.category-meta { display: none; }
Andy Fragen
ModeratorActually Rob, if Paul gets some ideas from it feel free to roll it into 2.1 or later. I wrote it cause I thought it would make instructions regarding CSS overrides simpler, but it’s really something that should be baked in. Proper attribution greatly fully accepted. 😉
Andy Fragen
ModeratorIt’s some .htaccess issue I need to work out. Delete or close.
Andy Fragen
ModeratorJohn, you might try creating an override template and use the is_user_logged_in() function. That way only logged in users can see the calendar. If you want something more private than that you could base viewing on user level. Great discussion of that here, http://wplifeguard.com/how-to-use-wordpress-to-display-content-depending-on-a-users-level/
Andy Fragen
ModeratorI think what you may need is a list for the conditional tags. It was compiled by Jonah.
https://gist.github.com/2415009
Is that it?Andy Fragen
ModeratorThere is no “default” events category, nor does it appear that an uncategorized event have any specific CSS class or id associated with it. If this is what you’re looking for you might put it in as a feature request. In the mean time you could create an “Uncategorized” category and assign your uncategorized events to that. Then they would have a .cat_uncategorized CSS class.
Andy Fragen
ModeratorSorry Christian. It might be easier to start with what you are trying to accomplish.
Andy Fragen
ModeratorSorry, I see it now in the Events > Settings menu
Andy Fragen
ModeratorChristian, if you’re looking for the individual category slugs the following code will get them for you.
function getCategorySlugs() {
$terms = get_terms("tribe_events_cat");
$slugs = array();
foreach ($terms as $term) {
$slugs[] = $term->slug;
}
return $slugs;
}
Andy Fragen
ModeratorRob, can you please return Settings > The Events Calendar link back. It’s much quicker access to the settings page.
Andy Fragen
ModeratorI tried it on an iPad. I won’t be able to try it on a desktop for a couple of weeks.
-
AuthorPosts
