Hide Event Description

Home Forums Calendar Products Community Events Hide Event Description

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1019305
    Sean
    Participant

    How 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 -->
    #1019451
    Josh
    Participant

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

    #1019510
    Sean
    Participant

    Hi 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,
    Karly

    #1019895
    Josh
    Participant

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

    #1019960
    Sean
    Participant

    Hi 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,
    Karly

    #1020283
    Josh
    Participant

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

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Hide Event Description’ is closed to new replies.