Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1191894
    PeterBeer2
    Participant

    Hi,

    i want to enable Comments on page (Comment Code for Integrity/ Blank – Container / No Header, Footer)
    Here is the Page: http://www.achtsamkeitsacademy.de/index.php/free-videos-1/

    Can you give me the Code.

    Kild Theme is allready set up :).

    Thank you!
    Peter

    #1191920
    Lely
    Moderator

    Hi Peter,

    Your site is under construction so I can’t the link you have provided.
    Please copy the template-blank-3.php file from here \wp-content\themes\x\framework\views\integrity to the same folder on the child theme here \wp-content\themes\x-child\framework\views\integrity. Open the copied file and copy this line:

    <?php x_get_view( 'global', '_comments-template' ); ?>

    After this line:
    <?php x_get_view( 'global', '_content', 'the-content' ); ?>

    Hope this helps.

    #1192244
    PeterBeer2
    Participant

    Now you can see it: http://www.achtsamkeitsacademy.de/index.php/free-videos-1/

    Did not work.

    Here the code i have in achtsamkeits-academy.de/wordpress/wp-content/themes/x-child/framework/views/integrity/template-blank-3.php

    `<?php

    // =============================================================================
    // VIEWS/INTEGRITY/TEMPLATE-BLANK-3.PHP (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-container max width offset”>
    <div class=”x-main full” role=”main”>

    <?php while ( have_posts() ) : the_post(); ?>

    <article id=”post-<?php the_ID(); ?>” <?php post_class(); ?>>
    <div class=”entry-wrap”>
    <?php x_get_view( ‘global’, ‘_content’, ‘the-content’ ); ?>
    <?php x_get_view( ‘global’, ‘_comments-template’ ); ?>
    </div>
    </article>

    <?php endwhile; ?>

    </div>
    </div>

    <?php x_get_view( ‘global’, ‘_footer’, ‘scroll-top’ ); ?>

    <?php x_get_view( ‘global’, ‘_footer’ ); ?>

    #1192261
    Paul R
    Moderator

    Hi Peter,

    In that case, would you mind providing us with login credentials so we can take a closer look? To do this, you can make a post with the following info:

    – Link to your site
    – WordPress Admin username / password
    – FTP credentials

    Don’t forget to select Set as private reply. This ensures your information is only visible to our staff.

    #1192446
    PeterBeer2
    Participant
    This reply has been marked as private.
    #1192934
    Friech
    Moderator

    Hi There,

    Thanks for the credentials, but which folder is the site? Please copy to your child theme and edit the \x\framework\views\integrity\template-blank-7.php file instead. Same thing, add the line:

    <?php x_get_view( 'global', '_comments-template' ); ?>

    Underneath the:

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

    Hope it helps, Cheers!

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