Home › Forums › Calendar Products › Events Calendar PRO › Hiding the Category Name
- This topic has 6 replies, 3 voices, and was last updated 9 years, 6 months ago by
Hunter.
-
AuthorPosts
-
October 20, 2016 at 2:57 pm #1180157
Jack Penland
ParticipantI am using Events Calendar Pro for a tourism website. As you might imagine, there are several dozen major events throughout the year, and many, many minor events. I’m trying to create a main calendar with just the major events and multiple minor calendars aimed at specific topics. To do that, I created the category “notable” to denote the big events. The calendar displays nicely and can be seen here…
http://whidbeycamanoislands.com/calendar-of-events/
I’d like to make the carat (>) and the word “notable” go away. Is there a function or css that I can use to hide just those two items and re-center the month and year?October 20, 2016 at 11:15 pm #1180393Hunter
ModeratorHey Jack,
Welcome to the forums and thank you for purchasing PRO 🙂
If you visit Altering or removing titles on calendar views and copy/paste the snippet to the bottom of your theme’s functions.php file with lines 74-75 deleted or commented out, it should achieve exactly what you’re after.
Please let me know how it works out and have a great Friday. Cheers!
October 21, 2016 at 11:51 am #1180842Jack Penland
ParticipantI’m afraid the code is crashing the site. So I’m obviously missing some fundamental step.
I’m using a child theme, so I’m putting it in the functions.php file of the child theme. . Is that okay?
The error message from the crash is:
Parse error: syntax error, unexpected ‘<‘ in /srv/www/data/users/e/a/ea82b374/public/wp-content/themes/x-child/functions.php on line 137Line 137 is the first line of the code snippet.
Your thoughts?
October 23, 2016 at 1:27 pm #1181675Hunter
ModeratorHello,
Thank you for your patience. Try removing the first 2 lines of code from the snippet, so only lines 3-80 are pasted to the bottom of your theme’s functions.php file. Let me know if it gets the site back up and have a great rest of the weekend. Cheers!
October 25, 2016 at 9:16 am #1182503Jack Penland
ParticipantThat did it! Thank you for your help!
October 25, 2016 at 7:24 pm #1182935Hunter
ModeratorAwesome 🙂
Thank you for kindly letting me know everything is good to go! I’ll close this thread out, but go ahead and create a new one if you come across any more questions or concerns. Cheers!
-
AuthorPosts
- The topic ‘Hiding the Category Name’ is closed to new replies.
