Crisoforo

Forum Replies Created

Viewing 15 posts - 61 through 75 (of 144 total)
  • Author
    Posts
  • Crisoforo
    Keymaster

    Sure.

    You need to look on your child theme for the instances or the place where you want to display the information of the author and use the following snipped of code instead this will display the details of the event as well with the cost if any.


    <?php $event_id = get_the_ID(); ?>
    <div class="tribe-events-schedule tribe-clearfix">
    <?php echo tribe_events_event_schedule_details( $event_id, '<h2>', '</h2>' ); ?>
    <?php if ( tribe_get_cost() ) : ?>
    <span class="tribe-events-cost"><?php echo tribe_get_cost( null, true ) ?></span>
    <?php endif; ?>
    </div>

    We have a detailed guide in how to customize the views of the plugin this will provide you a better insights in how to continue but if not let me know if you have any other questions.

    Thanks,
    Crisoforo

    in reply to: Featured Event In Calendar List View Formatting Off #1419283
    Crisoforo
    Keymaster

    I’m really happy that we finally find a solution for your problem and please feel free to reach out again in the future if you face any other problem as always we are here to help you.

    Have good evening and a great weekend.

    Thanks,
    Crisoforo

    in reply to: Featured Event In Calendar List View Formatting Off #1419267
    Crisoforo
    Keymaster

    Hey thanks for the file I did a debug on the theme and there is hook that changes the appearance of the events. there were a couple of things:

    1. The patch is now using the same layout as single-events for featured events.
    2. Seems like new styles were applied on this new patch.

    However as we don’t have access either to the theme we can’t download previous version of the theme to compare the changes between versions.

    But in order to give you a solution, we suggest that yo remove the content from the file:

    single-featured.php
    

    And replace it with this one:


    <?php
    /**
    * List View Single Featured Event
    * This file contains one featured event in the list view
    *
    * Override this template in your own theme by creating a file at [your-theme]/tribe-events/list/single-featured.php
    *
    * @version 4.6.3
    *
    */
    if ( ! defined( 'ABSPATH' ) ) {
    die( '-1' );
    }

    // Setup an array of venue details for use later in the template
    $venue_details = tribe_get_venue_details();

    // Venue
    $has_venue_address = ( ! empty( $venue_details['address'] ) ) ? ' location' : '';

    // Organizer
    $organizer = tribe_get_organizer();

    echo tribe_event_featured_image( null, 'large' );
    ?>

    <!-- Event Title -->
    <?php do_action( 'tribe_events_before_the_event_title' ) ?>
    <h2 class="tribe-events-list-event-title">
    <a class="tribe-event-url" href="<?php echo esc_url( tribe_get_event_link() ); ?>" title="<?php the_title_attribute() ?>" rel="bookmark">
    <?php the_title() ?>
    </a>
    </h2>
    <?php do_action( 'tribe_events_after_the_event_title' ) ?>

    <!-- Event Meta -->
    <?php do_action( 'tribe_events_before_the_meta' ) ?>
    <div class="tribe-events-event-meta">
    <div class="author <?php echo esc_attr( $has_venue_address ); ?>">

    <!-- Schedule & Recurrence Details -->
    <div class="tribe-event-schedule-details">
    <?php echo tribe_events_event_schedule_details() ?>
    </div>

    <?php if ( $venue_details ) : ?>
    <!-- Venue Display Info -->
    <div class="tribe-events-venue-details">
    <?php echo implode( ', ', $venue_details ); ?>
    <?php
    if ( tribe_show_google_map_link() ) {
    echo tribe_get_map_link_html();
    }
    ?>
    </div> <!-- .tribe-events-venue-details -->
    <?php endif; ?>

    </div>
    </div><!-- .tribe-events-event-meta -->
    <?php do_action( 'tribe_events_after_the_meta' ) ?>

    <!-- Event Cost -->
    <?php if ( tribe_get_cost() ) : ?>
    <div class="tribe-events-event-cost featured-event">
    <span class="ticket-cost"><?php echo esc_html( tribe_get_cost( null, true ) ); ?></span>
    <?php
    /** This action is documented in the-events-calendar/src/views/list/single-event.php */
    do_action( 'tribe_events_inside_cost' )
    ?>
    </div>
    <?php endif; ?>

    <!-- Event Content -->
    <?php do_action( 'tribe_events_before_the_content' ) ?>
    <div class="tribe-events-list-event-description tribe-events-content">
    <?php echo tribe_events_get_the_excerpt( null, wp_kses_allowed_html( 'post' ) ); ?>
    <a href="<?php echo esc_url( tribe_get_event_link() ); ?>" class="tribe-events-read-more" rel="bookmark"><?php esc_html_e( 'Find out more', 'the-events-calendar' ) ?> &raquo;</a>
    </div><!-- .tribe-events-list-event-description -->
    <?php
    do_action( 'tribe_events_after_the_content' );

    From there you can edit this file and change styles accordingly in this way next patches are not going to affect this.

    We have a Themer’s guide that provides more details about how this process works but if you have additional questions just let me know.

    Thanks,
    Crisoforo

    in reply to: License key #1419245
    Crisoforo
    Keymaster

    Hey!

    Can you provide us with the user that was registered with the purchase so we can look by user instead.

    Please let me know if you have any other questions about this or if there is anything else I can do for you.

    Thanks,
    Crisoforo

    in reply to: Refund Request #1419205
    Crisoforo
    Keymaster

    Hi!

    I’m sorry to hear about this, but we can help you with that as well, you can ask for a refund by following the next link:

    https://theeventscalendar.com/knowledgebase/refund-policy/

    Where you can find the details and a form as well with your request, from there you are going to be contacted via email to complete the process.

    Please let me know if you have any other questions about this or if there is anything else I can do for you.

    Thanks,
    Crisoforo

     

    in reply to: The Events Calendar PRO – Update to 4.4.20.1. #1419189
    Crisoforo
    Keymaster

    Hey Andreas.

    I’m sorry to know about this problem you are facing, at the moment we are experiencing some issues with the updates of the sites. But you can always update the plugin manually, you can  follow the steps for doing so using our guide. With this process you should be able to get the latest version of the plugin in your site. I’m really sorry for this inconvenience.

    Please let me know if you have any other questions about this or if there is anything else I can do for you.

    Thanks,
    Crisoforo

    in reply to: how do I remove all events from calendar #1419177
    Crisoforo
    Keymaster

    I’m glad that one finally worked, you can send and vote new feature request in our UserVoice site. Feel free to reach out again if there is anything else we can do for you in the future.

    Best
    Crisoforo

    in reply to: Default Mobile View not working, Yoast SEO conflict #1419117
    Crisoforo
    Keymaster

    Thanks for this information it was really helpful. I tested my self in a fresh installation with the settings you have on the display tab with Yoast active and disabled.

    In both scenarios the result is very similar if you load the site on mobile it will load the list view but if you load the site on desktop it will show the month view however from any view if you resize the browser is just going to show the same view but scaled for mobile, this happens as the view is stablished when the site loads not when the user resizes the browser, as helps to decide which view to load and then based on that redirects to the correct view, you can double check this as well by using our conflicts guide.

    Please let me know if you have any other questions about this or if there is anything else I can do for you.

    Thanks,
    Crisoforo

     

    in reply to: Featured Event In Calendar List View Formatting Off #1418988
    Crisoforo
    Keymaster

    I understand the problem you are facing however those files are not enough to find a cause to your problem, would you mind sending over your full theme in a zip instead so we can see if there is anything related with the plugin.

    As this seems to be a problem with the theme itself it might be a good idea to open a ticket there as well as even if we fix it you are going to lose any changes with following updates as the problem is on the theme as well.

    But for now we can take a look at the theme to see if we can find the root cause.

    Thanks a lot and let me know if you have any other questions.

    Thanks,
    Crisoforo

    in reply to: how do I remove all events from calendar #1418970
    Crisoforo
    Keymaster

    Seems like you are having an issue with your quotes, make sure to use single quotes on:

    'tribe_events';

    So you get something like this at the end.

    DELETE a,b,c,d
    FROM wp_posts a
    LEFT JOIN wp_term_relationships b ON ( a.ID = b.object_id )
    LEFT JOIN wp_postmeta c ON ( a.ID = c.post_id )
    LEFT JOIN wp_term_taxonomy d ON ( d.term_taxonomy_id = b.term_taxonomy_id )
    LEFT JOIN wp_terms e ON ( e.term_id = d.term_id )
    WHERE a.post_type = 'tribe_events';

    Let me know if you have any other questions.

    Thanks,
    Crisoforo

    in reply to: Change behaviour of filterbar – all need to be true #1418875
    Crisoforo
    Keymaster

    Thanks for the feedback and I’m glad you were able to find a solution for your needs, we do have a UserVoice site where other Users can vote and suggest new features, feel free to create a new one there.

    And let us know in the future if there’s anything else we can do for you.

    Thanks,
    Crisoforo

    in reply to: How to check in a theme that event has tickets or not? #1418873
    Crisoforo
    Keymaster

    That’s excellent, please feel free to reach out again if there is anything we can do for you.

    Thanks,
    Crisoforo

    in reply to: how do I remove all events from calendar #1418535
    Crisoforo
    Keymaster

    Hey!.

    You only need to change the type of the post you want to target in this case:

    WHERE a.post_type = ‘deleted_event’

    Into

    WHERE a.post_type = ‘tribe_events’

    Let me know if there is anything else I can do for you.

    Thanks,
    Crisoforo

    in reply to: how do I remove all events from calendar #1418526
    Crisoforo
    Keymaster

    They are stored under

     wp-posts

    But there are other fields that are stored on:

    wp-postmeta

    Make sure to clean your trash in order to remove the items completely. So this should be the right flow:

    Bulk Edit > Change status to draft > Remove all draft items > Remove trash

    All this can be done directly from the edit panel as noted on the answer on the other thread.

    Let me know if you have any other questions.

    Thanks,
    Crisoforo

    Crisoforo
    Keymaster

    Hey!

    Thanks for the details of your theme. And that’s correct going into the child theme approach seems like the best option, you can use the guide provided by your theme devs. In terms of your second question you can use the following snippet of code to test if a post is an event.


    <?php
    if ( "tribe_events" === get_post_type( get_the_ID() ) ) {
    // Do something is an event post type.
    }
    ?>

    Another way you can approach this is by using CSS to hide parts of the section as all items that are events has a CSS class which is:

    type-tribe_events

    Please let me know if you have any other questions about this or if there is anything else I can do for you.

    Thanks,
    Crisoforo

Viewing 15 posts - 61 through 75 (of 144 total)