Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1255446
    ngoeke
    Participant

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

    #1255763
    Darshana
    Moderator

    Hi 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 / password

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

    #1256868
    ngoeke
    Participant
    This reply has been marked as private.
    #1257443
    Rupok
    Member

    Hi 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!

    #1257654
    ngoeke
    Participant

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

    #1257722
    Thai
    Moderator

    Hi 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 🙂

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