Update canvas template context params for safe title

This commit is contained in:
Tetrakern 2024-06-14 00:04:41 +02:00
parent a6a187433d
commit 94ba62ae70
3 changed files with 3 additions and 3 deletions

View File

@ -25,7 +25,7 @@ get_header();
the_post();
// Setup
$title = fictioneer_get_safe_title( $post_id, 'singular-canvas' );
$title = fictioneer_get_safe_title( $post_id, 'singular-canvas-main' );
$this_breadcrumb = [ $title, get_the_permalink() ];
the_content();

View File

@ -30,7 +30,7 @@ get_header();
<?php
// Setup
$title = fictioneer_get_safe_title( $post_id, 'singular-titleless' );
$title = fictioneer_get_safe_title( $post_id, 'singular-canvas-page' );
$this_breadcrumb = [ $title, get_the_permalink() ];
?>

View File

@ -25,7 +25,7 @@ get_header( null, array( 'blank' => 1 ) );
the_post();
// Setup
$title = fictioneer_get_safe_title( $post_id, 'singular-canvas' );
$title = fictioneer_get_safe_title( $post_id, 'singular-canvas-site' );
$this_breadcrumb = [ $title, get_the_permalink() ];
the_content();