Tagged: x
-
AuthorPosts
-
September 27, 2016 at 3:20 am #1191894
PeterBeer2ParticipantHi,
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!
PeterSeptember 27, 2016 at 3:41 am #1191920
LelyModeratorHi 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.
September 27, 2016 at 8:18 am #1192244
PeterBeer2ParticipantNow 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’ ); ?>
September 27, 2016 at 8:34 am #1192261
Paul RModeratorHi 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 credentialsDon’t forget to select Set as private reply. This ensures your information is only visible to our staff.
September 27, 2016 at 10:26 am #1192446
PeterBeer2ParticipantThis reply has been marked as private.September 27, 2016 at 4:11 pm #1192934
FriechModeratorHi 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!
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1191894 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
