Sarah

Forum Replies Created

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • in reply to: How do I change browser tab text for calendar page? #963773
    Sarah
    Participant

    This reply is private.

    in reply to: How do I change browser tab text for calendar page? #963152
    Sarah
    Participant

    Also within the last few days I’ve realized the log in/log out part of my website produces a white screen. I’m assuming it’s because I’m working on this because I haven’t made any other changes.

    in reply to: How do I change browser tab text for calendar page? #963151
    Sarah
    Participant

    I just discovered that if I add it to the functions.php in two different locations I get different results.

    When I add it to public_html/familyfriendlyhudsonvalley/wp-content/themes/GeoPlaces3/functions.php, I get the white screen.

    When I add it to public_html/themes/GeoPlaces3/functions.php, I get no change.

    Not sure if that information helps, but it seems worth mentioning.

    in reply to: How do I change browser tab text for calendar page? #962981
    Sarah
    Participant

    I changed it accordingly and it’s still not working. Oddly, it seems to be fine for certain pages like “upcoming events”, “past events”, and month category view (like June 2015). The problem only seems to be on the main view pages (month/list/etc.). I really need to get this fixed somehow because I can’t see myself using this plugin without it changed. And I really love the plugin!

    in reply to: How do I change browser tab text for calendar page? #962362
    Sarah
    Participant

    It wasn’t but it is now. This is the code I have pasted:

    // Runs the <title> element through our custom filter
    add_filter(‘wp_title’, ‘filter_events_title’);
    // If you are using Yoast delete the above line and uncomment the following one
    //add_filter(‘wpseo_title’, ‘filter_events_title’);

    // Tribe events: Manually set title for each page
    function filter_events_title ($title) {

    if ( tribe_is_event() && is_single() ) { // Single Events
    $title = ‘Single event page’;
    }
    elseif ( tribe_is_venue() ) { // Single Venues
    $title = ‘Venue page’;
    }
    elseif (tribe_is_organizer() && is_single() ) { // Single Organizers
    $title = ‘Organizer page’;
    }
    elseif ( tribe_is_month() && !is_tax() ) { // Month View Page
    $title = ‘Month view page’;
    }
    elseif ( tribe_is_month() && is_tax() ) { // Month View Category Page
    $title = ‘Month view category page’;
    }
    elseif ( tribe_is_upcoming() && !is_tax() ) { // List View Page: Upcoming Events
    $title = ‘List view: Upcoming events page’;
    }
    elseif ( tribe_is_upcoming() && is_tax() ) { // List View Category Page: Upcoming Events
    $title = ‘List view Category: Upcoming events page’;
    }
    elseif ( tribe_is_past() && !is_tax() ) { // List View Page: Past Events
    $title = ‘List view: Past events page’;
    }
    elseif ( tribe_is_past() && is_tax() ) { // List View Category Page: Past Events
    $title = ‘List view Category: Past events page’;
    }
    elseif ( tribe_is_week() && !is_tax() ) { // Week View Page
    $title = ‘Week view page’;
    }
    elseif ( tribe_is_week() && is_tax() ) { // Week View Category Page
    $title = ‘Week view category page’;
    }
    elseif ( tribe_is_day() && !is_tax() ) { // Day View Page
    $title = ‘Day view page’;
    }
    elseif ( tribe_is_day() && is_tax() ) { // Day View Category Page
    $title = ‘Day view category page’;
    }
    elseif ( tribe_is_map() && !is_tax() ) { // Map View Page
    $title = ‘Map view page’;
    }
    elseif ( tribe_is_map() && is_tax() ) { // Map View Category Page
    $title = ‘Map view category page’;
    }
    elseif ( tribe_is_photo() && !is_tax() ) { // Photo View Page
    $title = ‘Photo view page’;
    }
    elseif ( tribe_is_photo() && is_tax() ) { // Photo View Category Page
    $title = ‘Photo view category page’;
    }

    return $title;
    }

    in reply to: How do I change browser tab text for calendar page? #961018
    Sarah
    Participant

    I have the Google Analytics by Yoast plugin and tried add the code both with and without the customization. I added it in the correct place in the file and it doesn’t have an impact on any of the calendar views. The single event pages haven’t had the problem at all.

    in reply to: How do I change browser tab text for calendar page? #960203
    Sarah
    Participant

    Thanks so much for getting back to me. Unfortunately it didn’t fit it for me, unless of course I did it wrong. I admit I’m not very experienced. I added it into the functions.php file in my theme (I’ve since taken it out). Any other suggestions?

    in reply to: How do I change browser tab text for calendar page? #960047
    Sarah
    Participant

    I changed the slug to “calendar” instead of events because I realized it was probably conflicting with my theme which also has a calendar/events portion (that doesn’t work for what I need, which is why I added The Events Calendar). The new link is: http://www.familyfriendlyhudsonvalley.com/calendar/. However I am still having the same issue.

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