Calendar Page Title

Home Forums Calendar Products Events Calendar PRO Calendar Page Title

Viewing 8 posts - 16 through 23 (of 23 total)
  • Author
    Posts
  • #1131615
    Ben
    Participant

    Hi Nico, this works fine for Events Calendar Pro. However, I’m having a similar problem with Community Events, and this patch doesn’t work for those pages. Is there a similar CSS switch for community pages?

    #1132124
    Nico
    Member

    Thanks for following up Gene! Indeed there is:


    /* hide theme page title in calendar views, single event views and community submit, edit and list pages */
    .post-type-archive-tribe_events #pagetitle,
    .single-tribe_events #pagetitle,
    .tribe_community_list,
    .tribe_community_edit {
    display: none;
    }

    Please let me know if we are in a good spot now,
    Best,
    Nico

    #1132125
    Ben
    Participant

    NO, unfortunately, both the submit and list community events views now appear as blank pages (absolutely nothing in the browser window). Perhaps I installed it wrong. I just added it to the TJ Custom CSS plugin file with the first CSS customization, like this:

    /* hide theme page title in calendar views */
    .post-type-archive-tribe_events #pagetitle {
    display: none;
    }

    /* hide theme page title in calendar views, single event views and community submit, edit and list pages */
    .post-type-archive-tribe_events #pagetitle,
    .single-tribe_events #pagetitle,
    .tribe_community_list,
    .tribe_community_edit {
    display: none;
    }

    Is that correct?

    #1132404
    Nico
    Member

    Hey Gene,

    My bad! Just replace the code with this updated snippet:


    /* hide theme page title in calendar views, single event views and community submit, edit and list pages */
    .post-type-archive-tribe_events #pagetitle,
    .single-tribe_events #pagetitle,
    .tribe_community_list #pagetitle,
    .tribe_community_edit #pagetitle {
    display: none;
    }

    Hope this makes it right finally,
    Best,
    Nico

    #1132478
    Ben
    Participant

    Still getting a blank page.

    #1132929
    Nico
    Member

    Hey Gene,

    When pasting the last snippet I sent you over (instead of using the previous ones) in the browserr console I can correctly see the community pages without the #pagetitle div!

    Can you please tell me which pages are still not working as expected (and send over a link so I can see them)? Can you make sure the last snippet is in place and the others are deleted? If you have any type of caching plugin/solution please be sure to flush it and re-test!

    Thanks,
    Nico

    #1133033
    Ben
    Participant

    It seems to be working now. It may be related to an interaction I described in another thread: “Bug in Day View”, since that’s the only thing I’ve changed…

    When you select a day from the month calendar view by clicking on the date, the first item listed for the day is missing the event title (see attached)…This bug was caused by the instructions in the Knowledgebase article “Configuring The Events Calendar with Constants” at https://theeventscalendar.com/knowledgebase/configuring-the-events-calendar-with-constants in the section shown below. Removing the recommended DEFINE fixed the problem.

    Fix Title Conflict with Some Themes

    Have you noticed that sometimes the title for an event page isn’t displaying properly? Is it displaying twice or are loops of events displaying a single event title rather than an appropriate archive title? This could be due to your theme calling “the_title();” outside of the loop for that page.

    To fix this problem, use TRIBE_MODIFY_GLOBAL_TITLE to overwrite the default title being output by the theme.
    1 define(‘TRIBE_MODIFY_GLOBAL_TITLE’, true);

    #1133551
    Nico
    Member

    Thanks for the heads up Gene!

    Might be related to that, not sure about it though. Anyway glad to hear this is finally solved 🙂

    I’ll go ahead and close out this thread, but if you need help with anything else please don’t hesitate to create a new one and we will be happy to assist you.

    Best,
    Nico

Viewing 8 posts - 16 through 23 (of 23 total)
  • The topic ‘Calendar Page Title’ is closed to new replies.