Home › Forums › Calendar Products › Events Calendar PRO › Remove link before category title and show description
- This topic has 5 replies, 3 voices, and was last updated 6 years, 3 months ago by Support Droid.
-
AuthorPosts
-
August 9, 2016 at 5:09 am #1149359Marlene HasselParticipant
I’d like to:
1. Remove the “Upcoming Events >” part of the tribe-events-page-title.
(I know I can hide the link with display:none but that leaves the “>” )2. Display the category description after the title.
How can this be achieved?
August 9, 2016 at 5:12 am #1149362Marlene HasselParticipantThis reply is private.
August 9, 2016 at 4:31 pm #1149774AndrasKeymasterHi Marlene,
Thanks for reaching out.
In order to display the category description after the title, paste this snippet into your functions.php file:
function category_description_below_title() { if ( tribe_is_photo () ) echo '<div class="category-description" style="text-align: center;">' . category_description() . '</div>'; } add_action( 'tribe_events_after_the_title', 'category_description_below_title' );
This will add the description in the photo view. If you would like to add it to all views, then remove this part:
if ( tribe_is_photo () )
You can format the category description with css using the .category-description class. And of course, you can further adjust the function for your needs.
As for your second request, that looks a bit more complicated. Please give me some time to look into that a bit.
Cheers,
AndrasJanuary 12, 2018 at 1:34 pm #1425179AndrasKeymasterHi Marlene,
I’m sorry for the really long break. This thread flew below the radar and I just re-discovered it.
I believe this article should help you achieve what you want with the titles.
https://theeventscalendar.com/knowledgebase/changing-the-browser-title-for-calendar-views/
Let me know if you need further help with this.
Cheers,
AndrasFebruary 3, 2018 at 8:35 am #1443211Support DroidKeymasterHey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.
Thanks so much!
The Events Calendar Support Team -
AuthorPosts
- The topic ‘Remove link before category title and show description’ is closed to new replies.