List view page header

Home Forums Calendar Products Events Calendar PRO List view page header

Viewing 15 posts - 1 through 15 (of 18 total)
  • Author
    Posts
  • #946709
    Paul
    Participant

    Hi

    Sorry if this reads badly, i’m not very tech savvy.

    So i’m trying to get a bit more continuity across the headings of the event calendar + pro

    I have 4 views, Month, Week, Day & list and they all have a heading and sub heading which read:

    Month: Heading: Events for March 2015, Sub heading: Events for March 2015
    Week: Heading : Blog, Sub heading: Events for week of March 2, 2015
    Day: Heading: Events for March 7 2015, Sub heading: Events for March 7, 2015
    List: Heading: Events for March 7 – xxx, Sub heading: Events for March 7 – xxx

    Ideally I need them all to read along the lines of ‘Classes’ instead of ‘Events’. The week view i’ve no idea why it say’s ‘Blog’. I’m guessing this is a theme dispute with Events calendar pro?

    I was wondering if there are any fixes for this? I have looked around and found a theme override by editing the functions.php but it doesn’t seem to change ‘Blog’? Maybe i’m just being stupid?

    Thanks in advance for any help

    #946729
    George
    Participant

    Hey Paul,

    Thanks for reaching out to us.

    First, can you share a link to your “Blog” page?

    Next, just to be clear, you mention finding a theme override for use in your functions.php file, so does that mean that you have been able to to change “Events” to “Classes” in most parts (other than the “Blog” text)?

    Finally, for now – what theme are you using? If it’s a free theme available online, share a link to it, if not, please share a download link with us over something like Dropbox.com or http://ge.tt – you can check the “Set as private reply” option before posting that reply if you’d like, so that your download link is only accessible to you and use here on the support team…

    Thanks!
    George

    #946738
    Paul
    Participant

    This reply is private.

    #946739
    Paul
    Participant

    Sorry didn’t mention – looking to get rid of the grey Heading bar on all the other views also

    #946981
    George
    Participant

    Hey Paul,

    Thanks for elaborating on things here. Fortunately, we have two filters that should help here, they let you change the default labels for “Events” to whatever you want – in your case, “Classes”.

    Check out the examples of using these filters I wrote for you, over in this Gist → https://gist.github.com/ggwicz/8cb846ebd45369e38b27

    If you paste those functions into your functions.php theme file, or a mu-plugin, or a functions.php file in a child theme, they should help!

    Now, as for removing that grey “Blog” header text, try the following CSS at the bottom of your theme or child theme’s style.css file:

    
    body.tribe-events-map #df-normal-header {
        display: none !important;
    }
    

    Let us know if these help! 🙂

    Cheers,
    George

    • This reply was modified 10 years, 7 months ago by George.
    #947710
    Paul
    Participant

    Hi George,

    Neither of these seemed to work? I copied the code you posted on gist into my functions.php file and it all still says event’s apart from the week view (which i think I may have changed)

    And the popped the other code into the themes custom css editor and neither of the header bars have gone apart from week view which had already disappeared somehow?

    could you double check this for me please

    Many thanks

    #947717
    Paul
    Participant

    Ive left the code in my functions file so you can take a look

    #947722
    Paul
    Participant

    Scratch that. The second code to eliminate the header has only taken it out of the ‘map’ view

    #947775
    George
    Participant

    Hey Paul,

    Instead of using the custom CSS editor, does anything improve with the CSS I shared if you manually place it at the bottom of your theme’s style.css file? Also, note that the CSS I shared is just a starting point – it’s possible that different templates on your site have different HTML IDs, rendering the CSS I shared only applicable to one page. If you’re curious about this or interested in customizing things to look just right, definitely check out a tool like Firebug if you use FireFox, or the Developer Tools for either Safari or Chrome – each one has an “Inspector” tool within it that makes customizing CSS much easier, you can hover over whatever elements you want to change (or, in this case, hide) and see what HTML and CSS you’ll need.

    As for your functions.php problems, can you copy and paste your entire, un-edited functions.php file into a Gist at http://gist.github.com and share a link to that Gist with us here?

    Thanks,
    George

    #947785
    Paul
    Participant

    Hi George

    Thanks for your patience

    My functions.php looks like this:
    https://gist.github.com/anonymous/f01d31c2871f479705cb

    The style.css file just says not to edit it?

    I’m looking into the developer tools now

    Many thanks

    #947786
    Paul
    Participant

    Sorry I thought the above would link to it

    #948174
    George
    Participant

    Hey Paul,

    This is odd that these functions wouldn’t take effect, they look properly added – when you mention that things “might have changed” in your week view, did all the labels that formerly said “Event” and “Events” change to say “Class” and “Classes”, respectively? Or did it remain at “Event/s”?

    I’m curious about what version of The Events Calendar you have running on your site – please upgrade to the latest version, currently 3.9.1, and let us know if that helps.

    — George

    #948346
    Paul
    Participant

    Hi

    No they remained ‘Events’. I think I previously did some backend edits to change ‘Events’ to ‘Classes’ in the week view which would answer why the week view currently looks how it does, even so the functions.php edit should be taking effect on the other views

    Both Events Calendar + pro are both up to date. Any ideas?

    #948358
    George
    Participant

    Hey Paul,

    If you can dig up and un-do those back-end edits, does anything change?

    Also, can you copy and paste those back-end edits into another Gist, and link to that one?

    Thank you for your continued patience Paul – we’ll get things working on your site soon, I promise! 🙂

    Cheers,
    George

    #948370
    Paul
    Participant

    https://gist.github.com/anonymous/f4759f1e6b813fdda4fd

    Hey No worries, sorry for the bother!

    So this was the only edit I really made, it’s from the ‘events-calendar-pro.php’ file. Probably not best practice to have edited it? but the only thing that was changed was line 4 “Events” to “Classes”

    Anyway I’ve changed it back now

    Paul

Viewing 15 posts - 1 through 15 (of 18 total)
  • The topic ‘List view page header’ is closed to new replies.