Tagged: x
-
AuthorPosts
-
May 18, 2016 at 11:12 pm #998756
Amanda PParticipantHello,
I have almost all of my pages on Blank | No container, header footer template.
However, I want all of the page titles to show on each page. It would be best to not have to go and change every single page individually to another template and/or add in page titles.
So I was thinking of just modifying the template in my child theme.
Would you be able to assist me in the code I would use to do this?
Many thanks!
May 18, 2016 at 11:13 pm #998757
Amanda PParticipantThis reply has been marked as private.May 18, 2016 at 11:14 pm #998759
Amanda PParticipantOh also, I am wondering if we can do this on all pages EXCEPT the home page.
Thank you 🙂
May 19, 2016 at 2:06 am #998921
Rue NelModeratorHello There,
Thanks for the updates! To resolve this issue, since you have your child theme active and ready, please follow the following steps below:
1] Using Notepad or TextEdit or Sublime Text or any text editor, please create a new file in your local machine.
2] Insert the following code into that new file<?php // ============================================================================= // VIEWS/INTEGRITY/TEMPLATE-BLANK-4.PHP (No Container | Header, Footer) // ----------------------------------------------------------------------------- // A blank page for creating unique layouts. // ============================================================================= ?> <?php get_header(); ?> <div class="x-main full" role="main"> <?php while ( have_posts() ) : the_post(); ?> <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>> <?php x_get_view( 'integrity', 'content', 'page' ); ?> </article> <?php endwhile; ?> </div> <?php get_footer(); ?>3] Save the file named as
template-blank-4.php
4] Upload this file to your server in the child theme’s folder
wp-content/themes/x-child/framework/views/integrityHope this helps. Kindly let us know.
May 19, 2016 at 10:56 am #999658
Amanda PParticipantThanks guys! I did end up figuring it out from another thread, and your answer is exactly what I did!
Thank again for all the support. <3
May 19, 2016 at 12:15 pm #999808
RahulModeratorYou’re welcome. We’re glad you are happy.
Enjoy your X!
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-998756 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
