Hiding the Category Name

Home Forums Calendar Products Events Calendar PRO Hiding the Category Name

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1180157
    Jack Penland
    Participant

    I 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?

    #1180393
    Hunter
    Moderator

    Hey 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!

    #1180842
    Jack Penland
    Participant

    I’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 137

    Line 137 is the first line of the code snippet.

    Your thoughts?

    #1181675
    Hunter
    Moderator

    Hello,

    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!

    #1182503
    Jack Penland
    Participant

    That did it! Thank you for your help!

    #1182935
    Hunter
    Moderator

    Awesome 🙂

    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!

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Hiding the Category Name’ is closed to new replies.