Forum Replies Created
-
AuthorPosts
-
LouiseMember
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,
LouiseLouiseMemberThis 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.
Any suggestions?
November 18, 2012 at 4:16 pm in reply to: Events Calendar Widget Right Tooltip no longer aligning after navigating #28224LouiseMemberGenius, Barry!!! It worked like a charm. 🙂
Louise
November 15, 2012 at 3:50 pm in reply to: Events Calendar Widget Right Tooltip no longer aligning after navigating #28154LouiseMemberThanks Barry – will give that a go and let you know.
Louise
November 13, 2012 at 10:49 pm in reply to: Customize the mini calendar widget tribe_calendar_mini_grid() #28045LouiseMemberThat’s because the correct PHP is:
echo $tribe_ecp->monthsFull[date(‘F’,$date)];
I’ve just changed it myself and works. 🙂
Louise
LouiseMemberThanks Javier! That worked 🙂
LouiseMemberThanks for the advice, Jonah.
Louise
LouiseMemberHi 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,
LouiseLouiseMemberThanks Jonah, its https://theeventscalendar.com/support/forums/topic/events-calendar-ipad/
Louise
-
AuthorPosts