Home › Forums › Calendar Products › Community Events › Hide Event Description
- This topic has 5 replies, 2 voices, and was last updated 10 years, 5 months ago by
Josh.
-
AuthorPosts
-
October 28, 2015 at 7:14 am #1019305
Sean
ParticipantHow can the Event Description be hidden from the Community Events Submit an Event form? We tried commenting out that section of edit-event.php but doing so caused the icons in our WP Admin Toolbar to disappear and display as squares (we tested in our theme as well as in Twenty Fourteen). Is this the proper format for hiding the description?
<!-- Event Description --> <?php do_action( 'tribe_events_community_before_the_content' ); ?> <!-- Start Hide Event Description <div class="events-community-post-content"> <?php tribe_community_events_field_label( 'post_content', sprintf( __( '%s Description:', 'tribe-events-community' ), $events_label_singular ) ); ?> <?php tribe_community_events_form_content(); ?> </div> End Hide Event Description--><!-- .tribe-events-community-post-content -->October 28, 2015 at 11:30 am #1019451Josh
ParticipantHey Karly,
Thanks for reaching out to us!
The best approach would be to hide it via CSS. You can add the following to your theme’s style.css file:
#tribe-community-events .events-community-post-content { display:none; }Let me know if this helps.
Thanks!
October 28, 2015 at 1:02 pm #1019510Sean
ParticipantHi Josh,
Thank you very much, that worked perfectly!
On a related note, to hide the “Show Google Maps Link” and “Show Google Map” labels and checkboxes, would CSS work best there as well (what class should we look for?) or should we try doing a template override to venue.php?
Best,
KarlyOctober 29, 2015 at 10:10 am #1019895Josh
ParticipantHey Karly,
No problem! Looking back at your site it appears that you’ve already removed the Show Google Map and Link sections from showing on that front-end form? Let me know if I missed something though.
Thanks!
October 29, 2015 at 11:53 am #1019960Sean
ParticipantHi Josh,
Sorry, yes earlier today I was able to figure out how to hide the Google Map/Link sections of the Submit an Event form via CSS and I forgot to update this ticket. Thanks for following up! I’ll mark this as resolved.
Best,
KarlyOctober 30, 2015 at 8:53 am #1020283Josh
ParticipantHey Karly,
No problem! Glad you were able to find the solution.
I’ll go ahead and close this thread for now. If you have any further questions, please don’t hesitate to open a new thread.
Thanks!
-
AuthorPosts
- The topic ‘Hide Event Description’ is closed to new replies.
