Main month view title & widget

Home Forums Calendar Products Events Calendar PRO Main month view title & widget

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1138574
    Kalle Jokinen
    Participant

    Hi,

    I have tried adding a title to the default month view page that is the front for my calendar. I’m using all in one seo pack and tried adding this code to functions.php:

    “add_filter(‘wpseo_title’,’my_custom_titles’);

    function my_custom_titles($title) {
    if( tribe_is_month() && is_tax() ) { // Calendar Category Pages
    return ‘Events Calendar’ . ‘ | ‘ . single_term_title(”, false);
    } else {
    return $title;
    }
    }”

    But the default calendar page title is still only showing my site name.

    And another question about countdown widget. I have set it to show the next event, but i don’t want it to show any text for the event that has started. So i would like it to just hop on to the next event countdown straight away after the countdown is finished for the current. Will it do this or does it now show the event has started -text for the duration of the event?

    #1138990
    Geoff B.
    Member

    Good evening Jukka and welcome to the Events Calendar Support forum!

    Thank you for reaching out to us.
    I would love to help you with this topic.

    I have tried adding a title to the default month view page that is the front for my calendar. I’m using all in one seo pack and tried adding this code to functions.php… But the default calendar page title is still only showing my site name.

    As a first step, could you please provide us with your complete system information in a private reply using the instructions found in the following link? https://theeventscalendar.com/knowledgebase/sharing-sys-info/

    Secondly, to add a title, you have a couple of options on the table:

    1. Use a template customization for your month view. You might want to read our Themer’s guide to get a sense of how that works.
    2. Try changing the Events Template dropdown option in Events -> Settings -> Display to see if that helps (switching from your theme’s archive template to your theme’s page template for instance).

    Question about countdown widget. I have set it to show the next event, but i don’t want it to show any text for the event that has started. So i would like it to just hop on to the next event countdown straight away after the countdown is finished for the current.

    This is a good question. The default behaviour of the widget (when set to the “next event” option) is to:

    • Display the next event title (as a link to the actual single event details)
    • Display the countdown before it starts

    Once that Event start time has been reached, the plugin will:

    • Display the time left to the event that has just started (if you are still on that page when the event starts)
    • Display “Hooray!” if you land on the page where the countdown is while the event has started.

    Once that Event end time has been reached, the plugin will:

    • Display the next event’s countdown and title

    The good news is that you can indeed modify the behaviour of the countdown widget.

    But, that will require some template customization on your end. You might want to read our Themer’s guide to get a sense of how that works. You can also read about it at the bottom of the following page: https://theeventscalendar.com/knowledgebase/configuring-the-events-countdown-widget/

    As an alternative, you can also hire one of our recommended customizers to do the customization for you.

    Let me know if that helps.

    Have a great day!

    Geoff B.

    #1139025
    Kalle Jokinen
    Participant

    Thanks for the quick reply! Tried solution 2 on the first issue, but it did nothing. I think i’ll leave it as it is for now. It’s too much work to do the customizations only for that one page. Other views now get “Events – sitename” title and i can manually change organizer, event location titles, single event etc. Actually i didn’t see that calendar view front page month on my sitemap, does it even get indexed by crawlers?

    On the second prob, how much customization would it require? Hiring anyone for now is out of the question. You should consider this feature as an option for future updates on the widget!

    #1139142
    Geoff B.
    Member

    Good morning Jukka,

    Thank you for writing back.

    I think i’ll leave it as it is for now. It’s too much work to do the customizations only for that one page

    I totally respect that you feel this way. However, it’s far simpler than it seems in my humble opinion.

    Mainly, what you need to do do is copy the main calendar view to the /tribe-events/ folder of your WordPress theme / child theme and add the title tag you want in there (you can hide the other via CSS).

    Other views now get “Events – sitename” title and i can manually change organizer, event location titles, single event etc. Actually i didn’t see that calendar view front page month on my sitemap, does it even get indexed by crawlers?

    This is super odd. I believe the culprit is your theme’s archive.php file (which is adding the sitename to the mix).

    The main Calendar page is actually not a page, but an archive. This is why it does not show on your sitemap.

    As a result, it will probably not get indexed by crawlers, but your single events will.

    On the second prob, how much customization would it require? Hiring anyone for now is out of the question. You should consider this feature as an option for future updates on the widget!

    That is a great question.

    As you might know, the scope of our support is mostly to get our customers started on the right track and to help them in case of issues. We unfortunately do not provide complete support for customization.

    So the short answer is I’m not sure exactly how much customization would be required.
    But, by taking a quick look at the code, what I can tell you is that I don’t think this is a big effort (1 to 2 hours of work max, depending on your skill level).

    With that in mind, I can totally see how this would be a very cool feature to have.

    I would encourage you to open a feature request here: https://tribe.uservoice.com/forums/195723-feature-ideas

    That way, other people can vote for it and it can gain traction.

    Let me know if you have any other questions on these topics.

    Have a great day!

    Geoff B.

     

    #1147601
    Support Droid
    Keymaster

    This topic has not been active for quite some time and will now be closed.

    If you still need assistance please simply open a new topic (linking to this one if necessary)
    and one of the team will be only too happy to help.

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Main month view title & widget’ is closed to new replies.