Timothy Wood

Forum Replies Created

Viewing 7 posts - 46 through 52 (of 52 total)
  • Author
    Posts
  • in reply to: Empty Gridview #25162
    Timothy Wood
    Participant

    Matthew, I replied directly to your email; however, in case anyone else is having similar issues they can check that the main query isn’t being influenced by another plugin, post type or permalinks.

    I created a simple gist that will check if the original query vars are calling for The Events Calendar and forces the query to stay on track without having ‘post_type’ reset to another post type https://gist.github.com/3286798

    in reply to: Recurring Events showing wrong date in Google Calendar #24239
    Timothy Wood
    Participant

    Hi all, I have updated the code for this particular bug and the next release of PRO will include the fix.

    in reply to: Conflict with advanced custom fields #24234
    Timothy Wood
    Participant

    Hey Tai, I imported your field set and have not been able to replicate your issue reliably. I say reliably because the image doesn’t stick when publishing while not having a main post data (title or content), but as long as the event fields are set it saves fine. Do you have any other plugins or ACF field groups that could be conflicting with ACF? Have you tried seeing if it saves with just a basic text field?

    Side note that I not able to replicate the issue with the events menue open while you are editing the field group at all.

    in reply to: Conflict with advanced custom fields #24230
    Timothy Wood
    Participant

    Great thank you! I will work on setting up my dev instance to replicate the field group. Cheers.

    in reply to: Conflict with advanced custom fields #24196
    Timothy Wood
    Participant

    Hello Tai, I am one of the developers on The Events Calendar (TEC) plugins, I also have a lot of experience with Elliot’s ACF plugin and TEC. Can you tell me what version of ACF you are using?Are the fields you are using in the repeater field or just fields by themselves in the group? Finally, if you don’t mind exporting your field group so I can try it locally on a dev instance?

    in reply to: Permalink conflict with Yoast SEO on recurring events #24072
    Timothy Wood
    Participant

    There is a bug fix coming in the next release for this. In the meantime, if you look in The Events Calendar core plugin /lib/the-events-calendar.class.php around line 602 replace the function “addDateToRecurringEvents” with the following code:

    public function addDateToRecurringEvents($permalink, $post) {
    if( function_exists(‘tribe_is_recurring_event’) && $post->post_type == self::POSTTYPE && tribe_is_recurring_event($post->ID) && !is_search()) {
    if( is_admin() && (!isset($post->EventStartDate) || !$post->EventStartDate) ) {
    if( isset($_REQUEST[‘eventDate’] ) ) {
    $post->EventStartDate = $_REQUEST[‘eventDate’];
    } else {
    $post->EventStartDate = TribeEvents::getRealStartDate( $post->ID );
    }
    }

    if(!isset($post->EventStartDate) || !$post->EventStartDate)
    return $permalink;

    if( ” == get_option(‘permalink_structure’) ) {
    return add_query_arg(‘eventDate’, TribeDateUtils::dateOnly( $post->EventStartDate ), $permalink );
    } else {
    return trailingslashit($permalink) . TribeDateUtils::dateOnly( isset($post->EventStartDate) ? $post->EventStartDate : null );
    }
    }
    return $permalink;
    }

    in reply to: Empty Gridview #24022
    Timothy Wood
    Participant

    Hey Matt, I appreciate your patience and it has taken me too long to get to you on this. I have been looking over the thread and your live site. Since using the debug code from Paul and the results are not showing I am wondering if you have any custom templates in your theme that override the calendar view?

    Just to clarify you had a page called “events” in the pages of your WordPress install and you have renamed it?

Viewing 7 posts - 46 through 52 (of 52 total)