Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1064672
    michaelrafla
    Participant

    Hi, i would like to add a page title to all templates and let the CMS control hide the page title on a page by page basis rather than no page title on all no container templates.

    the page I’m referring to for help is: http://exodusyouthworx.org.au/worth-water/

    Thanks,
    Michael

    #1064826
    Paul R
    Moderator

    Hi Michael,

    To achieve that, copy all your templates to your child theme then add the code below to those files.

    eg. copy wp-content/themes/x/framework/views/integrity/template-blank-1.php to wp-content/themes/x-child/framework/views/integrity/template-blank-1.php

    
     <?php if ( $disable_page_title != 'on' ) : ?>
          <header class="entry-header">
            <h1 class="entry-title"><?php the_title(); ?></h1>
          </header>
          <?php endif; ?>
    

    You may add it before this line

    <?php x_get_view( 'global', '_content', 'the-content' ); ?>

    Hope that helps.

  • <script> jQuery(function($){ $("#no-reply-1064672 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>