Tagged: x
-
AuthorPosts
-
November 13, 2016 at 2:19 pm #1255446
ngoekeParticipantHey, I can’t get Disqus to work.
I tried the regular plugin, didn’t work, tried the X Theme extension, also nothing. I think it’s because I’m using the Blank Template (No Header, No Footer, No Sidebar). Is there any way to get Disqus to work WITHOUT creating a child theme and changing a lot of code?
I tried dropping in the code from Disqus as raw content manually or text but that doesn’t work either. Shortname of the site is time2read-1. URL is http://time2read.co/attention-span/ for example.
November 13, 2016 at 8:29 pm #1255763
DarshanaModeratorHi there,
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 / passwordDon’t forget to select Set as private reply. This ensures your information is only visible to our staff.
November 14, 2016 at 1:41 pm #1256868
ngoekeParticipantThis reply has been marked as private.November 14, 2016 at 10:16 pm #1257443
RupokMemberHi there,
Comments doesn’t work on a blank template because blank template supposed to eliminate this. You should use a fullwidth or default template.
Thanks!
November 15, 2016 at 3:26 am #1257654
ngoekeParticipantAny way to change this or get it to work otherwise? I need to use the blank one because of design, the others are too cluttered, I don’t want menus, footers, etc.
November 15, 2016 at 4:56 am #1257722
ThaiModeratorHi There,
Because this requires a template change, I’d advise that you setup a child theme. This allows you to make code changes that won’t be overwritten when an X update is released. After your child theme is setup, please review how we recommend making template changes in Customization Best Practices.
Then navigate to your child theme’s /framework/views/integrity directory create a file named template-blank-6.php and paste the code below:<?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' ); ?>Hope it helps 🙂
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1255446 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
