Update canvas template context params for safe title
This commit is contained in:
parent
a6a187433d
commit
94ba62ae70
@ -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();
|
||||
|
@ -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() ];
|
||||
?>
|
||||
|
||||
|
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user