IMG_0013
$spt = get_field('stage_project_title');
$stage_project_subTitle = get_field('stage_project_subTitle');
if( $spt ):
$pageTitle = $spt;
if($stage_project_subTitle):
$pageTitle .= ' ' . $stage_project_subTitle;
endif;
else:
$pageTitle = get_the_title();
if($stage_project_subTitle):
$pageTitle .= ' ' . $stage_project_subTitle;
endif;
endif;
?>
-
シェア