Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8231349
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T17:27:27+00:00 2026-06-07T17:27:27+00:00

I am having a problem with the page http://www.believeinstjohn.com/store/ What I’m ultimately trying to

  • 0

I am having a problem with the page http://www.believeinstjohn.com/store/

What I’m ultimately trying to accomplish is moving the sidebar to its proper place (right sidebar column). It is showing three missing </div>tags, it is a WordPress site and the page is using a custom template. I cannot figure out where the missing tags are. The template is pulling resources from the rest of the site, and the other pages are just fine. Two of the divs (container & container-2) are located in the header.php, but closing them out there messes up the whole site. I must have missed something in the template, but cannot see it. Here is the PHP for the template

<?php
/**
 * Template Name: Products
 *
 * Selectable from a dropdown menu on the edit page screen.
 * @package WordPress
 * @subpackage Adventure_Journal
 */
$themeOpts = get_option('ctx-adventurejournal-options');
get_header();
?>

        <div class="content" <?php ctx_aj_getlayout(); ?>>
            <div id="col-main" style="<?php echo ctx_aj_customwidth('content'); ?>">
              <div id="main-content" <?php //ctx_aj_crinkled_paper(); ?>>

    <?php 
    global $wp_query, $post;
    $paged = get_query_var('paged') ? get_query_var('paged') : 1;
    $tax = $wp_query->query_vars['product-category'];
    query_posts( array ('post_type' => 'products', 'paged' => $paged, 'product-category' => $tax ) );
    $loop_counter = 1;
    if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
        <li class="product <?php if ( $loop_counter == 2 ) { echo "product-last"; } ?>">
            <div class="product_wrap">
                <?php 
                $title = get_the_title().' ';
                $chars_title = strlen($title);
                $title = substr($title,0,28);
                $title = substr($title,0,strrpos($title,' '));
                if ($chars_title > 28) { $title = $title."..."; } 

                $excerpt = get_the_excerpt();
                if (strlen($excerpt) > 150) {
                $excerpt = substr($excerpt,0,strpos($excerpt,' ',80)); } ;
                $excerpt = $excerpt.' ...';

                if (has_post_thumbnail()) {
                    echo '<a href="'. get_permalink() .'" class="product-thumb" title="'. the_title_attribute('echo=0') .'">';
                    the_post_thumbnail( 'Product Thumb', array('title'=>$post_title) );
                    echo  '</a>';
                }
                ?>
                <h3 class="entry-title product-title"><a href="<?php the_permalink(); ?>" class="title"><?php echo $title; ?></a></h3>
                <div class="product_content">
                    <?php echo apply_filters('the_excerpt',$excerpt); ?>
                </div>
                <div class="product_details">
                    <a class="button" href="<?php the_permalink(); ?>">More Info</a>
                </div>
            </div>
        </li>
        <?php if ( $loop_counter == 2 ) {
            $loop_counter = 1;
            echo '<li class="clear"></li>';
        } else {
            $loop_counter++;
        } ?>
     <?php endwhile; else: endif;  ?>
 <div class="clear"></div>
        <?php get_sidebar('store'); ?>
 <?php get_footer(); ?>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T17:27:29+00:00Added an answer on June 7, 2026 at 5:27 pm

    Where do you close the following tags ?

    <div class="content" <?php ctx_aj_getlayout(); ?>>
    <div id="col-main" style="<?php echo ctx_aj_customwidth('content'); ?>">
    <div id="main-content" <?php //ctx_aj_crinkled_paper(); ?>>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am having a problem with redirecting a page from example.com (to) www.example.com The
I'm working on a site http://www.infinite-possibility.com/ which is currently having a problem with any
I'm having a pretty big problem trying to create navigation on my page. If
Here is my site: http://www.dreamweddinggroup.com/redesign and I'm having a hell of a tough time
I'm a rookie designer having a few troubles with this page: http://www.resolvegroup.co.nz/javasurvey.php There are
I'm trying to get lightbox2 working with my site, http://www.therussianfrostfarmers.com/ , however i seem
In my application I am having problem to cover completely a page of the
I'm having a problem with a simple html login page I made, where when
I am having a problem in using Ajax methods.I have a master page and
Im doing a page in .asp and im having this problem ... I have

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.