Home › Forums › Calendar Products › Events Calendar PRO › List view page header
- This topic has 17 replies, 2 voices, and was last updated 11 years, 2 months ago by
George.
-
AuthorPosts
-
March 7, 2015 at 11:04 am #946709
Paul
ParticipantHi
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 – xxxIdeally 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
March 7, 2015 at 1:18 pm #946729George
ParticipantHey 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!
GeorgeMarch 7, 2015 at 2:42 pm #946738Paul
ParticipantThis reply is private.
March 7, 2015 at 2:45 pm #946739Paul
ParticipantSorry didn’t mention – looking to get rid of the grey Heading bar on all the other views also
March 9, 2015 at 9:47 am #946981George
ParticipantHey 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.
March 11, 2015 at 1:22 pm #947710Paul
ParticipantHi 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
March 11, 2015 at 1:42 pm #947717Paul
ParticipantIve left the code in my functions file so you can take a look
March 11, 2015 at 1:54 pm #947722Paul
ParticipantScratch that. The second code to eliminate the header has only taken it out of the ‘map’ view
March 11, 2015 at 6:14 pm #947775George
ParticipantHey 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,
GeorgeMarch 11, 2015 at 7:12 pm #947785Paul
ParticipantHi George
Thanks for your patience
My functions.php looks like this:
https://gist.github.com/anonymous/f01d31c2871f479705cbThe style.css file just says not to edit it?
I’m looking into the developer tools now
Many thanks
March 11, 2015 at 7:13 pm #947786Paul
ParticipantSorry I thought the above would link to it
March 13, 2015 at 9:12 am #948174George
ParticipantHey 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
March 14, 2015 at 11:18 am #948346Paul
ParticipantHi
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?
March 14, 2015 at 11:59 am #948358George
ParticipantHey 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,
GeorgeMarch 14, 2015 at 2:09 pm #948370Paul
Participanthttps://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
-
This reply was modified 10 years, 7 months ago by
-
AuthorPosts
- The topic ‘List view page header’ is closed to new replies.
