Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1020595
    PeterBeer2
    Participant

    Hi,

    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
    Peter

    #1021293
    Rue Nel
    Moderator

    Hey 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.

    #1021504
    PeterBeer2
    Participant

    PEFEKT! YOU ARE AWSOME!
    THANKS

    #1021519
    Nico
    Moderator

    Happy to hear that.

    Feel free to ask us again.

    Thanks.

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