Forum Replies Created
-
AuthorPosts
-
Arnie
ParticipantBueller? Bueller? Anyone?
Please help! thanks
Arnie
ParticipantI had to go ahead and change it back because I don’t want users to see it all messed up. trying other methods
Arnie
Participantso i did what you said and it pretty much messed everything up. can you take a look? see how the events are displaying now…
https://www.jewishexperience.org/shabbat/Arnie
Participantactually, that might be in the custom code, hah! ok i will see if i can make this work. thank you!
Arnie
ParticipantOk thanks, I will try that – I don’t actually have access to the original css file though – I can only add custom css, so I’m not sure how I’m going to actually remove original code
Arnie
ParticipantSure, here are some of the places I am referring to:
https://www.jewishexperience.org/shabbat/#friday-night-dinners
https://www.jewishexperience.org/locations/west-side/west-classes/west-next-level-class/#next-next-level
https://www.jewishexperience.org/locations/east-side/east-classes/east-tuesday-talks/#next-tuesdaytalksArnie
ParticipantHere’s a link to the updated event page – https://www.jewishexperience.org/event/conversations-with-rabbi-mark-wildes-2/2016-06-20/
Below is the modified code for single_event. As you can see, the meta box is at the bottom.
<?php
/**
* Single Event Template
* A single event. This displays the event title, description, meta, and
* optionally, the Google map for the event.
*
* Override this template in your own theme by creating a file at [your-theme]/tribe-events/single-event.php
*
* @package TribeEventsCalendar
*
*/if ( ! defined( ‘ABSPATH’ ) ) {
die( ‘-1’ );
}$events_label_singular = tribe_get_event_label_singular();
$events_label_plural = tribe_get_event_label_plural();$event_id = get_the_ID();
?>
<div id=”tribe-events-content” class=”tribe-events-single”>
<p class=”tribe-events-back”>
“> <?php printf( ‘« ‘ . esc_html__( ‘All %s’, ‘the-events-calendar’ ), $events_label_plural ); ?>
</p><!– Notices –>
<?php tribe_the_notices() ?><?php echo tribe_event_featured_image( $event_id, ‘full’, false ); ?>
<?php the_title( ‘
‘, ‘
‘ ); ?>
<div class=”tribe-events-schedule tribe-clearfix”>
<?php echo tribe_events_event_schedule_details( $event_id, ‘‘, ‘
‘ ); ?>
<?php if ( tribe_get_cost() ) : ?>
<span class=”tribe-events-divider”>|</span>
<span class=”tribe-events-cost”><?php echo tribe_get_cost( null, true ) ?></span>
<?php endif; ?>
</div><!– Event header –>
<div id=”tribe-events-header” <?php tribe_events_the_header_attributes() ?>>
<!– Navigation –><?php printf( esc_html__( ‘%s Navigation’, ‘the-events-calendar’ ), $events_label_singular ); ?>
<ul class=”tribe-events-sub-nav”>
<li class=”tribe-events-nav-previous”><?php tribe_the_prev_event_link( ‘<span>«</span> %title%’ ) ?>
<li class=”tribe-events-nav-next”><?php tribe_the_next_event_link( ‘%title% <span>»</span>’ ) ?><!– .tribe-events-sub-nav –>
</div>
<!– #tribe-events-header –><?php while ( have_posts() ) : the_post(); ?>
<div id=”post-<?php the_ID(); ?>” <?php post_class(); ?>>
<!– Event featured image, but exclude link –>
<!–?php echo tribe_event_featured_image( $event_id, ‘full’, false ); ?–><!– Event content –>
<?php do_action( ‘tribe_events_single_event_before_the_content’ ) ?>
<div class=”tribe-events-single-event-description tribe-events-content”>
<?php the_content(); ?>
</div>
<!– .tribe-events-single-event-description –>
<?php do_action( ‘tribe_events_single_event_after_the_content’ ) ?><!– Event meta –>
<?php do_action( ‘tribe_events_single_event_before_the_meta’ ) ?>
<?php tribe_get_template_part( ‘modules/meta’ ); ?>
<?php do_action( ‘tribe_events_single_event_after_the_meta’ ) ?>
</div> <!– #post-x –>
<?php if ( get_post_type() == Tribe__Events__Main::POSTTYPE && tribe_get_option( ‘showComments’, false ) ) comments_template() ?>
<?php endwhile; ?><!– Event footer –>
<div id=”tribe-events-footer”>
<!– Navigation –><?php printf( esc_html__( ‘%s Navigation’, ‘the-events-calendar’ ), $events_label_singular ); ?>
<ul class=”tribe-events-sub-nav”>
<li class=”tribe-events-nav-previous”><?php tribe_the_prev_event_link( ‘<span>«</span> %title%’ ) ?>
<li class=”tribe-events-nav-next”><?php tribe_the_next_event_link( ‘%title% <span>»</span>’ ) ?><!– .tribe-events-sub-nav –>
</div>
<!– #tribe-events-footer –></div><!– #tribe-events-content –>
Arnie
ParticipantI created the folder myself.
Arnie
ParticipantWhen I did that I lost the meta box on the left side of the page. I’d like to keep that but have the featured images stretch across the top of the entire event page — metabox and title.
Arnie
ParticipantNevermind
Arnie
ParticipantNo, that’s fine. As long as I can also still show less than 10, I’m cool.
Arnie
ParticipantWhen I tried it the highest number was still 10. But your saying that when I choose 10, it’ll really show 30…right?
Arnie
ParticipantWill adding this function still allow me to choose to display just 3 or 4 events? Will the override only kick in if I select 10? That’s really what I need.
Arnie
ParticipantThanks. I know how to use inspector. I just didn’t find that ID anywhere in that area of the page.
Arnie
ParticipantHow did you find that?
I added this:
#top div .avia-gallery img{
padding: 0px !important;
}but it didn’t change anything.
-
AuthorPosts
