Louise

Forum Replies Created

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • in reply to: Events homepage showing individual event titles #28371
    Louise
    Member

    There is another section in my functions.php which addresses titles – should I incorporate a change here somehow?

    I have tried your solution with TwentyEleven and it works, so it must be somewhere in my template:

    // Outputs the page title and breadcrumbs before a template page
    //
    function theme_page_title() {
    if (!is_front_page()) {
    global $post;
    echo ”;
    if (core_options_get(‘titles’) == true){
    if (is_category())
    echo ”,single_cat_title( ”, false ), ”;
    elseif (is_archive() && is_day() )
    printf( __( ‘Daily Archives: %s’, ‘themedutch’ ), get_the_date() . ” );
    elseif (is_archive() && is_month() )
    printf( __( ‘Monthly Archives: %s’, ‘themedutch’ ), get_the_date( _x( ‘F Y’, ‘monthly archives date format’, ‘themedutch’ ) ) . ” );
    elseif (is_archive() && is_year() )
    printf( __( ‘Yearly Archives: %s’, ‘themedutch’ ), get_the_date( _x( ‘Y’, ‘yearly archives date format’, ‘themedutch’ ) ) . ” );
    elseif (is_tag() )
    printf( __( ‘Showing posts with tag: %s’, ‘themedutch’ ), single_term_title(“”, false) . ” );
    elseif (is_search() )
    printf( __( ‘Search Results: %s’, ‘themedutch’ ) , ‘”‘ . get_search_query() . ‘”‘ . ” );
    else {
    if ( ! core_is_buddypress_pages() ){
    echo ”, get_the_title($post->ID), ”;
    }
    }
    }

    if (core_options_get(‘breadcrumbs’) == true) {
    echo ”;

    if( ! core_is_buddypress_pages() )
    core_breadcrumbs(‘ \ ‘, __(‘You are here:’, THEME_SLUG));

    echo ”;
    }
    echo ”;

    }
    }
    add_action(‘core_before_template’, ‘theme_page_title’);

    Thanks for helping,
    Louise

    in reply to: Events homepage showing individual event titles #28369
    Louise
    Member

    This solution did not work for me. Am using Default Event Template and have added the following to my functions.php:

    // Event Calendar Page Title Removal from Calendar View

    add_filter(‘tribe_get_events_title’, ‘my_get_events_title’);
    function my_get_events_title($title) {
    if( tribe_is_month() && !is_tax() ) { // The Main Calendar Page
    return ”;
    } elseif( tribe_is_month() && is_tax() ) { // Calendar Category Pages
    return ”;
    } elseif( tribe_is_event() && !tribe_is_day() && !is_single() ) { // The Main Events List
    return ”;
    } elseif( tribe_is_event() && is_single() ) { // Single Events
    return ”;
    } elseif( tribe_is_day() ) { // Single Event Days
    return ‘Events for – ‘ . tribe_get_start_date(false, false, ‘F, Y’);
    } elseif( tribe_is_venue() ) { // Single Venues
    return $title;
    } else {
    return $title;
    }
    }

    No changes are made whatsover. Title still appears on calendar and event list and single event.

    Events

    Any suggestions?

    Louise
    Member

    Genius, Barry!!! It worked like a charm. 🙂

    Louise

    Louise
    Member

    Thanks Barry – will give that a go and let you know.

    Louise

    in reply to: Customize the mini calendar widget tribe_calendar_mini_grid() #28045
    Louise
    Member

    That’s because the correct PHP is:

    echo $tribe_ecp->monthsFull[date(‘F’,$date)];

    I’ve just changed it myself and works. 🙂

    Louise

    in reply to: Events calendar iPad #28038
    Louise
    Member

    Thanks Javier! That worked 🙂

    in reply to: Widget calendar popup not displaying on iPad #27931
    Louise
    Member

    Thanks for the advice, Jonah.

    Louise

    in reply to: Events calendar iPad #27930
    Louise
    Member

    Hi Javier,

    Jonah has kindly opened this topic again for me so I could contact you. I have exactly the same problem with popups not appearing on iPad – I noticed you have been able to fix it for your site.

    Would you be able to share how you have done this? Or a nudge in the right direction? I am not sure what breakpoints are as Jonah mentioned above.

    Your site looks good!

    Thanks,
    Louise

    in reply to: Widget calendar popup not displaying on iPad #27925
    Louise
    Member
Viewing 9 posts - 1 through 9 (of 9 total)