wpDiscuz to a custom made theme
I believe it has something to do with the codes I have on my theme that I made. I checked and wpDiscuz css and other things don't even go in to my head tag. How do I make wpDiscuz to work on my theme?
I have a comments.php using almost the same one as twentyseventeen. Am i missing something that makes wpDiscuz not work?
my single.php looks like this:
<?php get_header(); ?>
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<div class="newsport" style="background-image:url(<?php echo get_the_post_thumbnail_url($post->ID, 'medium'); ?>)"></div>
<h1><?php the_title(); ?></h1>
<div class="thecontent wrap"> <?php echo get_the_date(); ?> <p><?php the_content(); ?></p> </div>
<div class="wrap"> <?php if ( comments_open() || get_comments_number() ) :
<?php endwhile; ?>
<?php endif; ?>
Please follow to the instruction mentioned in documentation, it includes more points and information and make sure you delete all caches after each point of debugging:
Im sorry but I have already done all the steps there too, just to make sure I tried it again and deleted my caches everytime. I dont think it has something to do with dashboard settings anymore since switching to twentyseventeen makes it wpDiscuz work completely.
Could there be something missing from the codes of my theme. Like something that I did not put but is needed to make wpDiscuz appear.
For those who have themes made from scratch, make sure to add
<?php wp_head(); ?>
before the closing </head> tag and
<?php wp_footer(); ?>