Forum Replies Created

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter kriteshabhishek

    (@kriteshabhishek)

    Hi !anoopranawat Sorry, I am not an expert developer and just know the basics. The steps that you asked need technical knowledge and I don’t want to mess up my site by taking some wrong steps, in case I did something wrong. It would be easier if you can let me know some other simple method or if you want I can share you the code files so that you can go through it. The issue is still not solved!!

    Thread Starter kriteshabhishek

    (@kriteshabhishek)

    Hi @anoopranawat. I tried adding define(‘WP_DEBUG’, true); in the wp-config.php file. It didn’t solved the issue.

    Thread Starter kriteshabhishek

    (@kriteshabhishek)

    Sure. Here are the screenshots — https://goo.gl/meZDtn

    Thread Starter kriteshabhishek

    (@kriteshabhishek)

    Here is the code for archieve.php
    (There’s no category.php page in the editor)

    <?php
    /**
    * The template for displaying Archive pages.
    * Learn more: https://codex.www.ads-software.com/Template_Hierarchy
    * @package intact
    * by KeyDesign
    */
    ?>

    <?php get_header(); ?>

    <?php if ( have_posts() ) : ?>
    <div id=”posts-content” class=”container” >
    <?php if ($redux_ThemeTek[‘tek-blog-sidebar’]) { ?>
    <div class=”col-xs-12 col-sm-12 col-md-9 col-lg-9″>
    <?php } else { ?>
    <div class=”col-xs-12 col-sm-12 col-md-12 col-lg-12″>
    <?php } ?>
    <?php
    while (have_posts()) :
    the_post();
    ?>
    <div <?php post_class(‘section’); ?> id=”post-<?php the_ID(); ?>” >
    ” title=”<?php the_title_attribute(); ?>”><?php the_post_thumbnail(‘large’); ?>
    ” title=”<?php the_title_attribute(); ?>”><h2 class=”blog-single-title”><?php the_title(); ?></h2>
    <div class=”entry-content”>
    <?php if(has_excerpt()) : ?>
    <?php the_excerpt(); ?>
    <?php else : ?>
    <div class=”page-content”><?php the_content(); ?></div>
    <?php endif; ?>
    </div>
    <div class=”entry-meta”>
    <?php if ( is_sticky() ) echo ‘<span class=”fa fa-thumb-tack”></span> Sticky <span class=”blog-separator”>|</span> ‘; ?>
    <span class=”published”><span class=”fa fa-clock-o”></span>” title=”<?php the_title_attribute(); ?>”><?php the_time( get_option(‘date_format’) ); ?></span>
    <span class=”author”><span class=”fa fa-keyboard-o”></span><?php the_author_posts_link(); ?></span>
    <span class=”blog-label”><span class=”fa fa-folder-open-o”></span><?php the_category(‘, ‘); ?></span>
    <span class=”comment-count”><span class=”fa fa-comment-o”></span><?php comments_popup_link( esc_html__(‘No comments yet’, ‘intact’), esc_html__(‘1 comment’, ‘intact’), esc_html__(‘% comments’, ‘intact’) ); ?></span>
    </div>
    </div>
    <?php endwhile; ?>
    <?php the_posts_pagination( array(‘mid_size’ => 1,’prev_text’ => esc_html__( ‘Previous’, ‘intact’ ),’next_text’ => esc_html__( ‘Next’, ‘intact’ ),) ); ?>
    </div>
    <?php if ($redux_ThemeTek[‘tek-blog-sidebar’]) { ?>
    <div class=”col-xs-12 col-sm-12 col-md-3 col-lg-3″>
    <?php get_sidebar(); ?>
    </div>
    <?php } ?>
    </div>
    <?php else : ?>
    <div id=”posts-content” class=”container” >
    <h2 class=”section-title”><?php esc_html_e( ‘Nothing Found’, ‘intact’ ); ?></h2>
    <?php if ( is_home() && current_user_can( ‘publish_posts’ ) ) : ?>
    <p><?php printf( esc_html__( ‘Ready to publish your first post?’, ‘intact’ ), esc_url( admin_url( ‘post-new.php’ ) ) ); ?></p>
    <?php elseif ( is_search() ) : ?>
    <p><?php esc_html_e( ‘Sorry, but nothing matched your search terms. Please try again using different keywords.’, ‘intact’ ); ?></p>
    <?php get_search_form(); ?>
    <?php else : ?>
    <p><?php esc_html_e( ‘It seems we can’t find what you’re looking for. Perhaps searching can help.’, ‘intact’ ); ?></p>
    <?php get_search_form(); ?>
    <?php endif; ?>
    </div>
    <?php endif; ?>
    <?php get_footer(); ?>

    Thread Starter kriteshabhishek

    (@kriteshabhishek)

    Hi @anoopranawat I’m using Intact theme.

    What exactly do I’ve to check in the archieve.php?

    Thread Starter kriteshabhishek

    (@kriteshabhishek)

    Hi. The issue has been resolved. I found a help on StackOverflow forum. Apparently, the ‘WP Fastest Cache’ was creating some trouble. I excluded the page for the plugin and it started working fine.

    I’m not deleting this post just in case someone stuck with the same problem, can save some time. Anyways, I’ll mark it resolved. Cheers!!

    Thread Starter kriteshabhishek

    (@kriteshabhishek)

    Btw, the script is working while logged with admin. It’s not working on the public website. I’ve selected the “Classic” option for the attribute: “Script load method”

Viewing 7 replies - 1 through 7 (of 7 total)