ba95472
Forum Replies Created
-
Forum: Plugins
In reply to: [The Events Calendar] Change Widget Link ColorThat works! Thanks so much for all your help masoodak!
Forum: Plugins
In reply to: [The Events Calendar] Change Widget Link ColorThat works! Thanks Darian – any CSS for the “Subscribe to calendar” button on the Events page?
- This reply was modified 3 years, 1 month ago by ba95472.
Forum: Plugins
In reply to: [The Events Calendar] Change Widget Link ColorThanks Abz, unfortunately that just does what Tristan’s code does – affects link color, but not the underline on hover.
Forum: Plugins
In reply to: [The Events Calendar] Change Widget Link ColorThanks very much Tristan! Would like to have the hover CSS on that link as well the Subscribe to Calendar button on the Events page. Can you please share that? Thanks again!
With the help of TexFinderX I’ve located the file where the span originates “loop.php”:
src/functions/template-tags/loop.phpThis is the block
`$title = sprintf( __( ‘%1$s for %2$s – %3$s’, ‘the-events-calendar’ ), $events_label_plural, $first_event_date, $last_event_date );
} elseif ( tribe_is_past() ) {
$title = sprintf( esc_html__( ‘Past %s’, ‘the-events-calendar’ ), $events_label_plural );
}if ( tribe_is_month() ) {
$title = sprintf(
esc_html_x( ‘%1$s for %2$s’, ‘month view’, ‘the-events-calendar’ ),
$events_label_plural,
date_i18n( tribe_get_date_option( ‘monthAndYearFormat’, ‘F Y’ ), strtotime( tribe_get_month_view_date() ) )
);
}// day view title
if ( tribe_is_day() ) {
$title = sprintf(
esc_html_x( ‘%1$s for %2$s’, ‘day_view’, ‘the-events-calendar’ ),
$events_label_plural,
date_i18n( tribe_get_date_format( true ), strtotime( $wp_query->get( ‘start_date’ ) ) )
);
}if ( is_tax( $tribe_ecp->get_event_taxonomy() ) && $depth ) {
$cat = get_queried_object();
$title = ‘<a href=”‘ . esc_url( tribe_get_events_link() ) . ‘”>’ . $title . ‘</a>’;
$title .= ‘ › ‘ . $cat->name;
}
Changing ‘%1$s for %2$s – %3$s’ to ‘Past %s’ works. However after the change there’s some caching going on that makes ‘Past Events’ show up as the title on the Next Events page even after refreshing and clearing the cache. Reverting to the original ‘%1$s for %2$s – %3$s’ and back to the way it was, so still some more work to do.Forum: Themes and Templates
In reply to: [Twenty Seventeen] Make gallery page full width?Forum: Themes and Templates
In reply to: [Twenty Seventeen] Make hamburger icon bigger in mobile?Forum: Plugins
In reply to: [The Events Calendar] Display day on single events page?Got it!
Events Calendar Settings ->
Display ->
Date without year -> l, F jForum: Plugins
In reply to: [The Events Calendar] Change venue default settings?Here’s another hack. To bulk remove United States and Zip Codes, install the Adminer plugin then run these SQL commands:
update YOUR_postmeta set meta_value='' where meta_key='United States' update YOUR_postmeta set meta_value='' where meta_key='_VenueZip'Forum: Plugins
In reply to: [The Events Calendar] Change venue default settings?Another hack for 3.9.3 to get the address to display in normal order like the current version of the Events Calendar is to replace the comma after the venue (src/views/list/single-event.php) with a
<br><?php if ( $venue_details ) : ?> <!-- Venue Display Info --> <div class="tribe-events-venue-details"> <?php echo implode( '<br>', $venue_details ); ?> </div> <!-- .tribe-events-venue-details --> <?php endif; ?>Forum: Plugins
In reply to: [The Events Calendar] Change venue default settings?The other thing I do to keep from being pestered by WordPress to accidentally update 3.9.3 (and also to prevent the client from doing it!) is to change the version number in the stylesheet to 999999.
Forum: Plugins
In reply to: [The Events Calendar] Change venue default settings?Got it! Replaced the Country and State dropdowns in venue-meta-box.php with the following code:
<tr class="venue"> <td class='tribe-table-field-label'>Country:</td> <td> <input tabindex="2002" type='text' name='venue[Country]' size='25' value='' /></td> </tr> <tr class="venue"> <td class='tribe-table-field-label'>State:</td> <td> <input tabindex="2004" type='text' name="venue[State]" size='2' value="CA" /></td> </tr>Again, this is for version 3.9.3 which I have no plans on updating anytime soon.
Forum: Plugins
In reply to: [The Events Calendar] Venue Address issueI checked your site and it looks like it’s probably a plugin issue because copying the address and pasting into a text editor shows the same crowding, weird. You might try going back to an earlier version of the plugin to see if the problem persists.
Forum: Plugins
In reply to: [The Events Calendar] Change venue default settings?I’m still using v3.9.3 of the plugin because every version since doesn’t work with the Spacious theme that we use. In 3.9.3, I don’t see the jamming problem you refer to.
Forum: Plugins
In reply to: [The Events Calendar] Page title is "Archive"Thanks Brian. It’s definitely not the theme coding, that’s why I’m inquiring as to what changed in the plugin before just haphazardly trying to fix it.