Fergus

Forum Replies Created

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • Fergus
    Member

    This 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;
    }
    }

    Fergus
    Member

    I’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.

    Fergus
    Member

    Hi 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.

    Fergus
    Member

    Time 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.

    Fergus
    Member

    Have already been in touch with WooThemes who pointed me at this plugin. Can’t revert to TwentyTen, don’t have time!

    in reply to: Huge problem, need help right away. #18083
    Fergus
    Member

    I 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).

    in reply to: Huge problem, need help right away. #18048
    Fergus
    Member

    I 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/

Viewing 7 posts - 1 through 7 (of 7 total)