Chris

Forum Replies Created

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • in reply to: Display untruncated content in mobile calendar view #1196473
    Chris
    Participant

    You are the MAN Josh! That 100% did the trick!

    Thank you, thank you, thank you.

    in reply to: CSS issue at 768px viewport #1195392
    Chris
    Participant

    This turned out to be a bug in the theme code. Thank you.

    in reply to: Display untruncated content in mobile calendar view #1195391
    Chris
    Participant

    Hi Josh, any luck with this one yet?

    in reply to: Display untruncated content in mobile calendar view #1190420
    Chris
    Participant

    Thanks Josh, but it didn’t work. Here is what I did:

    1) Properly copied /views/month/single-event.php to my child theme (mobile.php was already there and working properly)

    2) Added the following 2 lines of code you provided to lines 29 and 30 where the rest of the post data is saved in variables:

    $day      = tribe_events_get_current_month_day();
    $event_id = "{$post->ID}-{$day['daynum']}";
    $link     = tribe_get_event_link( $post );
    $title    = get_the_title( $post );
    $content = array();
    $content['content'] = $post->post_content;

    3) Changed line 35 of mobile.php from
    <div class="tribe-event-description"> [[=raw excerpt]] </div>
    to
    <div class="tribe-event-description"> [[=content]] </div>

    Oddly, in that top codeblock, I don’t see the “excerpt” being gathered but yet it’s called.

    in reply to: Display untruncated content in mobile calendar view #1189564
    Chris
    Participant

    Just mobile. We aren’t currently using the tooltips, but if we decide to we would want the excerpt displayed there as the event content would be too much.

    in reply to: Disable event detail pages #1185384
    Chris
    Participant

    Thanks Geoff, that is what I did.

    But a little checkbox on the settings page labelled “Disable links to single event pages” would be really handy. 🙂

    in reply to: Update WordPress Page Title #1183663
    Chris
    Participant

    Thank you, as much as your advice makes sense it didn’t work. I tried copying the file containing the value I need to change to several locations without success. But I did find a solution.

    Within /themes/parent-theme/framework/modules/events/events-functions.php there is a function that sets that page title. I copied that function to my themes functions.php and changed the value of $text from “Events Calendar” to “Activities Calendar”. That did it.

    Here is that function:

    if(!function_exists('wellspring_mikado_events_archive_title_text')) {
    	/**
    	 * Hooks to title text filter and alters it for events calendar page
    	 * @param $text
    	 *
    	 * @return string
    	 */
    	function wellspring_mikado_events_archive_title_text($text) {
    	    if(is_post_type_archive('tribe_events')) {
    		    $text = esc_html__('Activities Calendar', 'wellspring-child');
    	    }
    
            return $text;
        }
    
    	add_filter('wellspring_mikado_title_text', 'wellspring_mikado_events_archive_title_text');
    }
    • This reply was modified 7 years, 6 months ago by Chris.
Viewing 7 posts - 1 through 7 (of 7 total)