Tagged: x
-
AuthorPosts
-
June 1, 2016 at 1:43 pm #1020595
PeterBeer2ParticipantHi,
I have a question. I want a comment section on this Page: http://www.wl-academy.com/radikal-stressfrei/
– I allready set up Child-Theme
– Insert Code:<?php
// =============================================================================
// VIEWS/INTEGRITY/TEMPLATE-BLANK-6.PHP (No Container | No Header, No Footer)
// —————————————————————————–
// A blank page for creating unique layouts.
// =============================================================================?>
<?php x_get_view( ‘global’, ‘_header’ ); ?>
<?php x_get_view( ‘global’, ‘_slider-above’ ); ?>
<?php x_get_view( ‘global’, ‘_slider-below’ ); ?><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( ‘global’, ‘_content’, ‘the-content’ ); ?><?php x_get_view( ‘global’, ‘_comments-template’ ); ?>
</article><?php endwhile; ?>
</div>
<?php x_get_view( ‘global’, ‘_footer’, ‘scroll-top’ ); ?>
<?php x_get_view( ‘global’, ‘_footer’ ); ?>
Allready works on Fullwith BUT i want the comments on Blank – No Container.
Because i dont want so see the Header and no Container.
I Know it works somehow. So how can i do this?Thanks for the Support
PeterJune 1, 2016 at 8:59 pm #1021293
Rue NelModeratorHey Peter,
Thanks for writing in!
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-8.PHP (No Container | No Header, Footer) // ----------------------------------------------------------------------------- // A blank page for creating unique layouts. // ============================================================================= ?> <?php x_get_view( 'global', '_header' ); ?> <?php x_get_view( 'global', '_slider-above' ); ?> <?php x_get_view( 'global', '_slider-below' ); ?> <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( 'global', '_content', 'the-content' ); ?> <?php x_get_view( 'global', '_comments-template' ); ?> </article> <?php endwhile; ?> </div> <?php get_footer(); ?>3] Save the file named as
template-blank-8.php
4] Upload this file to your server in the child theme’s folder
wp-content/themes/x-child/framework/views/integrity/Please let us know if this works out for you.
June 2, 2016 at 12:31 am #1021504
PeterBeer2ParticipantPEFEKT! YOU ARE AWSOME!
THANKSJune 2, 2016 at 12:46 am #1021519
NicoModeratorHappy to hear that.
Feel free to ask us again.
Thanks.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1020595 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
