amycarolyn

Forum Replies Created

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • in reply to: Map View – No Location #1513795
    amycarolyn
    Participant

    Yes, this is perfect and works great. Thank you! Have a nice day.

    in reply to: Map View – No Location #1513326
    amycarolyn
    Participant

    I found a solution in a different support ticket where the Event view is modified with a function. It looks like that person received help for a similar question so can you confirm you can’t help me? I do have a Pro license (and we’ve purchased a Community license as well under my client’s account).

    //*Show All Events in Map View
    add_action( ‘tribe_events_pre_get_posts’, ‘unlimit_map_view’ );
    function unlimit_map_view( $query ) {
    if ( defined( ‘DOING_AJAX’ ) && DOING_AJAX && $query->get(‘eventDisplay’) == ‘map’ ) {
    $query->set(‘posts_per_page’, ‘-1’);
    }
    return $query;
    }

    I’m thinking I can use this to pull events that don’t have a location attached but since I don’t know how it’s being queried to begin with I’m not sure how to override it. Do you know which file contains the query? I haven’t found it yet.

    in reply to: Map View – No Location #1513324
    amycarolyn
    Participant

    I am a developer I was just hoping you had the correction function on hand or could point me to the right part of the documentation as I’m having trouble finding information on it.

    in reply to: Change thumbnail size for Related Events #80922
    amycarolyn
    Participant

    No, I would like to change it to a cropped thumbnail. It’s currently not cropped. What image size is being pulled?

    in reply to: Function to get custom field from Organizer #66236
    amycarolyn
    Participant

    Thanks, this helped me get the code working. Much appreciated!

    in reply to: Function to get custom field from Organizer #64613
    amycarolyn
    Participant

    Your documentation doesn’t cover this, am I crazy or looking in the wrong spot? I’ve seen you tell people on other threads to use ACF to add an image so I would assume it’s possible. Any recommendations? Who could I hire to tell me the answer?

    in reply to: Function to get custom field from Organizer #63973
    amycarolyn
    Participant

    Here is the missing snippet.
    $organizerlogo = get_field(‘organizer_logo’, $postId);
    echo wp_get_attachment_image($organizerlogo, ‘meta-thumb’);

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