mikehermary
Forum Replies Created
-
Forum: Plugins
In reply to: [The Events Calendar] Title conflictsHello,
The theme was developed using Underscore Me as the basis.
I have moved the event thumbnail function into the functions.php file, but it did not resolve the issue.
Cheers,
Forum: Plugins
In reply to: [The Events Calendar] Title conflictsHello,
The function is loaded from the
template-tags.php
file located in the inc directory.I have a similar function for handling the display of WordPress core post and page titles, and it works without issue.
Cheers,
Forum: Plugins
In reply to: [The Events Calendar] Title conflictsHello,
Sorry for the delayed reply. You can review the in-development events pages here: https://www.flagstaff.ab.ca/events/. When you navigate to the single, past event, you will notice the page title does not change from Events Calendar to the name of the event.
Cheers,
Forum: Plugins
In reply to: [The Events Calendar] Title conflictsHello,
Further to the title text issue, the date displayed on individual day listings is incorrect.
For example, the URL is displayed https://domain.com/events/2023-02-10/, but the title is displayed Events on: January 1, 1970.
None of the other interface elements display the incorrect date.
Cheers,
Forum: Plugins
In reply to: [The Events Calendar] Title conflictsHello,
No luck with those code adjustments. The monthly view is now displaying Event List as the heading and the individual events are not using the
the_title( '<h1 class="entry-title">', '</h1>' );
code.Cheers,
Forum: Plugins
In reply to: [The Events Calendar] Title conflictsHello,
I have setup a staging server, and tested with the WP 2020 theme. It looks like the 2020 theme does not support the display of the page titles.
Here are the setup details:
- PHP 8.0
- WordPress 6.1.1
- The Events Calendar 6.0.8
- Custom theme
Cheers,
Forum: Plugins
In reply to: [The Events Calendar] Title conflictsHello,
I have followed those steps, but now the opposite is occurring. The text “Events Calendar” is displaying on all of the pages, even for single events.
I have included my updated template tags function code below for reference. The duplicate function has been removed from the main functions.php file.
if ( ! function_exists( 'flagstaffcounty_event_thumbnail' ) ) : /** * Displays an optional post thumbnail. * * Wraps the post thumbnail in a figure element when on event views. */ function flagstaffcounty_event_thumbnail() { $url = site_url(); ?> <figure class="page-thumbnail" style="background-image: url(<?php echo $url; ?>/wp-content/uploads/2022/01/generic-page-title-banner.jpg);" itemprop="image" itemscope="" itemtype="https://schema.org/ImageObject"> <header class="entry-header"> <?php if( tribe_is_month() && !is_tax() ) { // The Main Calendar Page ?> <h1 class="entry-title"> <?php esc_html_e( "Events Calendar", "flagstaffcounty" ); ?> </h1> <?php } elseif( tribe_is_month() && is_tax() ) { // Calendar Category Pages ?> <h1 class="entry-title"> <?php esc_html_e( "Events Calendar", "flagstaffcounty" ) . ' » ' . single_term_title('', false); ?> </h1> <?php } elseif( tribe_is_event() && !tribe_is_day() && !is_single() ) { // The Main Events List ?> <h1 class="entry-title"> <?php esc_html_e( "Events List", "flagstaffcounty" ); ?> </h1> <?php } elseif( tribe_is_event() && is_single() ) { // Single Events echo the_title(); } elseif( tribe_is_day() ) { // Single Event Days echo '<h1 class="entry-title">Events on: ' . date('F j, Y', strtotime($wp_query->query_vars['eventDate'])) . '</h1>'; } elseif( tribe_is_venue() ) { // Single Venues ?> <?php the_title( '<h1 class="entry-title">', '</h1>' ); ?> <?php } else { ?> <?php the_title( '<h1 class="entry-title">', '</h1>' ); ?> <?php } ?> </header><!-- .entry-header --> </figure> <?php } endif;
Forum: Plugins
In reply to: [UpdraftPlus: WP Backup & Migration Plugin] Updraft struggling on PHP 8.0.18Hello,
I have completed this testing, but none the plugins seemed to have conflicted with WP Optimize.
Cheers,
Hello,
We did not have this setting enabled.
There seems to be something larger happening with the plugin and other plugins as nothing I have tried or suggested by support has resolved this issue. It only started in the last couple of weeks.
Cheers,
Hello,
I have enabled that option, but it has not solved the issue. There are no JS errors in the console after setting all scripts to being deferred.
I have also tested with the ‘jQuery’ defer setting on/off, but it had no effect.
Cheers,
Forum: Plugins
In reply to: [Novo-Map : your WP posts on custom google maps] Novo-Map Not ShowingHello sharkyblunt,
It looks like jQuery is failing to load on numerous pages on your site. I would try to diagnose why it is not loading. It could possibly be related to an installed page optimization plugin as I see the HTML source code is minified.
Hope this helps.
Cheers,
Hello,
I have sent you the requested credentials via email.
Cheers,
Forum: Plugins
In reply to: [Timber] Unknown get_image function errorHello,
Thanks for the reply and the link.
Cheers,
Hello,
Thanks for the reply.
The individual has tried clearing cache, but that did not resolve the issue. They also do not have Chrome extensions installed.
Not sure if their installation of Chrome is buggy or not. I will ask them to re-install Chrome and see if that resolves the intermittent issues.
Cheers,