Different titles for different calendar views

Home Forums Calendar Products Events Calendar PRO Different titles for different calendar views

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1138097
    Philip Macaulay
    Participant

    I have only two separate calendar views on my site (/events/2015-03/ and /events/2017-02/).
    But I want to change the title of each of them The old calendar(2015-03) to show ESW 2015 Events and the other to show ESW 2017 Events.

    I have looked at if( tribe_is_month() and attempted to do things like if( tribe_is_month(‘2017-02’) etc but it seems calendar pro ignores specific month ‘pages’

    Is there a solution to this??

    Thanks you

    #1138105
    Philip Macaulay
    Participant

    Actually I have resolved this – as it was the month I needed to remove as it was the year that was critical to the title I changed this in functions to remove month:

    	if ( tribe_is_month() ) {
    		$title = sprintf(
    			$title_month,
    			date_i18n( tribe_get_option( 'YearFormat', 'Y' ), strtotime( tribe_get_month_view_date() ) )
    		);
    	}
    
    
    #1138344
    George
    Participant

    Thank you for posting your resolution! Glad you found a solution here.

    Cheers,
    George

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Different titles for different calendar views’ is closed to new replies.