Assistance / Guidance to edit the "title on tab"
-
Hi All,
I am looking for assistance to change the “title” on the tab.
Currently my day, list, month & event permalink view produces the following results
Day = Events for (date) | (single event URL slug) | (site title)
List = Upcoming Events | (single event URL slug) | (site title)
Month = Events for (month) – – (Site Title) *
Permalink = Upcoming Event | (title of event) | (site title)What I would like to see would be the following.
List = Upcoming Event List | (site title)
Day = Events for (date) | (site title)
Permalink = (title of event) | (site title)
* Now for the month view which is the default when coming in to site.com/calendar , the title tab displays it as :
Events for (month) | (site title)
Which is how i like it to be but as soon as i click the prev/next month, it displays it as
Events for (month) – – (site title) .
I do understand that the title takes the info from my main archive.php template which is Graphy from Themegraphy.com . Unfortunately, I am uncertain on how to add in an “if” kind of code to the archive.php so that the output on the Title Tab is what I am looking for.
e.g, if list view , meta tile = Upcoming event list | (Site title) .
or
if month view and month is current, meta title = Events for (month) | (Site title ) and if not current month, meta title = Events for (month) | (Site title ).
Any assistance or a nudge to the right direction on this is greatly appreciated.
ps, i have went here and i totally got lost
- The topic ‘Assistance / Guidance to edit the "title on tab"’ is closed to new replies.