It’s simple:
Don’t forget to move add_filter
to functions.php file 🙂
<?php
/*
Template Name: No Title Page
*/
add_filter( 'the_title', function ($title) { return "";});
?>
<?php get_header(); ?>
<div class="wrapper">
<?php while ( have_posts() ) : the_post(); ?>
<?php get_template_part( 'content', 'page' ); ?>
<?php endwhile; // end of the loop. ?>
</div>
<?php get_footer(); ?>