-
Hello,
i’m using Rank Math Seo together with “The Events Calendar” Plugin from Modern Tribe.
For this I created a custom template (“page-event.php”) to display an event page. The plugin then uses this template automatically for all generated Event-Pages. Unfortunately, in this case, Rank Math SEO fills the page title to “WP Router Placeholder Page”. Can I influence this within the custom template?
Here the page-event.php:
/* * Template Name: Veranstaltungen */ get_header(); ?> <div id="eventkalender" class="td-main-content-wrap td-container-wrap"> <div class="td-container"> <div class="td-crumb-container"> <?php echo tagdiv_page_generator::get_breadcrumbs(array( 'template' => 'page', 'page_title' => get_the_title(), )); ?> </div> <div class="td-pb-row"> <div class="td-pb-span8 td-main-content"> <div class="td-ss-main-content"> <?php if (have_posts()) { while ( have_posts() ) : the_post(); ?> <div class="td-page-header"> <h1 class="entry-title td-page-title"> <span><?php the_title(); ?></span> </h1> </div> <div class="td-page-content tagdiv-type"> <?php the_content(); ?> </div> <?php endwhile;//end loop comments_template('', true); } ?> </div> </div> </div> </div> </div> <?php get_footer(); ?>
`
Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
The ticket ‘WP Router Placeholder Page’ is closed to new replies.