Forum Replies Created
-
AuthorPosts
-
August 29, 2012 at 12:02 pm in reply to: Events meta box appearing above content; category/tag issues; disappearing menus #24303
Fergus
MemberThis is the code I’m using:
// Registers core WordPress category and taxonomies on the “Events” post type registered by the plugin “The Events Calendar”
add_action( ‘init’, ‘ac_add_calendar_taxonomy’, 20 );
function ac_add_calendar_taxonomy() {
register_taxonomy_for_object_type(‘category’, ‘tribe_events’);
register_taxonomy_for_object_type(‘post_tag’, ‘tribe_events’);
}// Adds “Events” post type registered by the plugin “The Events Calendar” to archive pages
add_filter(‘pre_get_posts’, ‘query_post_type’);
function query_post_type($query) {
if(is_category() || is_tag()) {
$post_type = get_query_var(‘post_type’);
if($post_type)
$post_type = $post_type;
else
$post_type = array(‘post’,’tribe_events’);
$query->set(‘post_type’,$post_type);
return $query;
}
}August 29, 2012 at 12:00 pm in reply to: Events meta box appearing above content; category/tag issues; disappearing menus #24302Fergus
MemberI’ve found the culprit pulling in the wrong posts into the /events/ and /events/upcoming/ pages. It’s a really handy plugin to prevent posts appearing in archives and I was using it to remove last year’s posts. http://www.codehooligans.com/projects/wordpress/simply-exclude/
I still have the issue that when I add Category and Tags to Events the menu gets stripped out.
August 29, 2012 at 11:27 am in reply to: Events meta box appearing above content; category/tag issues; disappearing menus #24301Fergus
MemberHi Jonah
Switching to TwentyEleven didn’t solve all the problems and broke my sidebar when I switched back. I’m making the assumption that I shouldn’t assign Categories to Events to solve the menu and category archive and all events issues which is unfortunate because it’s exactly what I need the plugin to do.
Is there a simple way solve the other issue – the Events Manager meta box appearing above content? It would make it viable for me to use the plugin, even if it’s not the way I want to.August 24, 2012 at 5:30 am in reply to: Events meta box appearing above content; category/tag issues; disappearing menus #24043Fergus
MemberTime to work with a new theme from scratch that is, although it’s looking increasingly likely that I’ll either have to do that or give up on the Events plugin.
August 24, 2012 at 5:29 am in reply to: Events meta box appearing above content; category/tag issues; disappearing menus #24042Fergus
MemberHave already been in touch with WooThemes who pointed me at this plugin. Can’t revert to TwentyTen, don’t have time!
Fergus
MemberI tried using the patch because, as I said, Googlebot is indexing every date between 2005 and infinity rather than just dates with events (currently working its way through 2017).
Fergus
MemberI am having similar problems: Googlebot is trying to index every date in every category etc from 2005 to infinity (2019 is what it’s looking for now). It’s killing my bandwidth.
I’m using The Events Calendar and Pro 2.0.5 on WP 3.3.1 and have applied the table.php fix with no effect. I’m also using a calendar widget.
http://westofirelandschool.com/events/ -
AuthorPosts
