Create php template with nav bar but not title

How do I create a php page/post template with the nav bar, but not the page title?

I’m using a child theme and I’ve got a few custom headers already. What I want in a page that doesn’t display the page title.

Hi There @Parkinson_Canada

Thanks for writing in! You can disable page title under Cornerstone settings.

If you’re still having issues, provide your code with how your created your page template, so that we should be able to assist you accordingly. Also check our customization best practices guide here (https://theme.co/apex/forum/t/customizations-best-practices/205).

Hope that helps.

Here is my template so far.

<?php /* Template Name: No Title Template for custom contact us page including local offices post type */ get_header(); ?>
  <?php while ( have_posts() ) : the_post(); ?>

    <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
			

    </article>

  <?php endwhile; ?>

</div>
  <?php get_sidebar(); ?>
<?php get_footer(); ?>

Hi @Parkinson_Canada,

It’s the basic template not coming from X theme, that option will not really work. May I know the purpose of adding this template? If it’s just hiding the title then please remove that template and just toggle on that option in the setting as provided.

And that template is for the page, I assume you have a different one for local offices post type?

Please check this for best practices for X template customization https://theme.co/apex/forum/t/customizations-best-practices/205,

And these other threads will help too
https://theme.co/apex/forum/t/how-to-upload-xtheme-to-child-theme/43246/2,
https://theme.co/apex/forums/topic/using-cornerstone-to-create-custom-post-type-page-template/#post-639347,

Unfortunately, we can’t cover or support full customization of templates, but we could check your implemented templates and maybe we can provide some insight into what’s going on. Right now, please start it with suggested template implementation.

Thanks!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.