gawdsed;10987475 wrote:The problem could also lay in the first 100 lines as well, would it be possible to post the entire script?
<?php get_header(); ?>
<div class="container">
<div class="cont-left flt">
<!-- For ad banner -->
<div id="adspacetop">
<div class="adbanner"> <?php echo adrotate_ad(1); ?> </div>
</div>
<!-- // End of ad banner -->
<?php
ob_start();
wp_title('');
$title = ob_get_clean();
$title = trim($title);
$exclude_cats = $_GET['exclude_cats'];
if($exclude_cats) {
$exclude_cats = explode(',', $exclude_cats);
} else {
$exclude_cats = array(43);
}
$include_cats = $_GET['include_cats'];
if($include_cats) {
$include_cats = explode(',', $include_cats);
} else {
$include_cats = array();
}
?>
<div class="arrow-blog">
</div>
<div class="eventlink">
<ul>
<li>
<a href="<?php bloginfo('home'); ?>/blog/?the_cats=-43" class="dropdown">All Posts</a>
<div id="blog-tab-dropdown-0" class="dropdown-dropdown">
<ul>
<li><a href="<?php bloginfo('home'); ?>/blog/?the_cats=-43,13">New Music</a></li>
<li><a href="<?php bloginfo('home'); ?>/blog/?the_cats=-43,52">Music Videos</a></li>
<li><a href="<?php bloginfo('home'); ?>/blog/?the_cats=-43,12">News</a></li>
<li><a href="<?php bloginfo('home'); ?>/blog/?the_cats=-43,17">Fashion</a></li>
<li><a href="<?php bloginfo('home'); ?>/blog/?the_cats=-43,14">Videos</a></li>
</ul>
</div>
</li>
<li>
<a href="<?php bloginfo('home'); ?>/blog/?the_cats=-43,-61,-62" class="dropdown"> Top 50 </a>
<div id="blog-tab-dropdown-1" class="dropdown-dropdown top-fifty">
<ul>
<li><a href="<?php bloginfo('home'); ?>/blog/?the_cats=-43,-61,-62,13">New Music</a></li>
<li><a href="<?php bloginfo('home'); ?>/blog/?the_cats=-43,-61,-62,52">Music Videos</a></li>
<li><a href="<?php bloginfo('home'); ?>/blog/?the_cats=-43,-61,-62,12">News</a></li>
<li><a href="<?php bloginfo('home'); ?>/blog/?the_cats=-43,-61,-62,17">Fashion</a></li>
<li><a href="<?php bloginfo('home'); ?>/blog/?the_cats=-43,-61,-62,14">Videos</a></li>
</ul>
</div>
</li>
<li> <a href="<?php bloginfo('home'); ?>/category/tmg-university/" class="dropdown">TMG University</a> <div id="blog-tab-dropdown-2" class="dropdown-dropdown tmg-u">
<ul>
<li><a href="<?php bloginfo('home'); ?>/category/tmg-university/?the_cats=13">New Music</a></li>
<li><a href="<?php bloginfo('home'); ?>/category/tmg-university/?the_cats=52">Music Videos</a></li>
<li><a href="<?php bloginfo('home'); ?>/category/tmg-university/?the_cats=12">News</a></li>
<li><a href="<?php bloginfo('home'); ?>/category/tmg-university/?the_cats=17">Fashion</a></li>
<li><a href="<?php bloginfo('home'); ?>/category/tmg-university/?the_cats=14">Videos</a></li>
</ul>
</div></li>
<li> <a href="<?php bloginfo('home'); ?>/category/tmg-retirement-home/" class="dropdown">TMG Retirement</a> <div id="blog-tab-dropdown-3" class="dropdown-dropdown tmg-r-h">
<ul>
<li><a href="<?php bloginfo('home'); ?>/category/tmg-retirement-home/?the_cats=13">New Music</a></li>
<li><a href="<?php bloginfo('home'); ?>/category/tmg-retirement-home/?the_cats=52">Music Videos</a></li>
<li><a href="<?php bloginfo('home'); ?>/category/tmg-retirement-home/?the_cats=12">News</a></li>
<li><a href="<?php bloginfo('home'); ?>/category/tmg-retirement-home/?the_cats=17">Fashion</a></li>
<li><a href="<?php bloginfo('home'); ?>/category/tmg-retirement-home/?the_cats=14">Videos</a></li>
</ul>
</div></li>
</ul>
<div class="clr"></div>
</div>
<div class="artist-sec">
<?php the_post(); ?>
<?php if ( is_day() ) : ?>
<h1 class="page-title"><?php printf( __( 'Daily Archives: <span>%s</span>', 'your-theme' ), get_the_time(get_option('date_format')) ) ?></h1><br>
<?php elseif ( is_month() ) : ?>
<h1 class="page-title"><?php printf( __( 'Monthly Archives: <span>%s</span>', 'your-theme' ), get_the_time('F Y') ) ?></h1><br>
<?php elseif ( is_year() ) : ?>
<h1 class="page-title"><?php printf( __( 'Yearly Archives: <span>%s</span>', 'your-theme' ), get_the_time('Y') ) ?></h1><br>
<?php elseif ( isset($_GET['paged']) && !empty($_GET['paged']) ) : ?>
<h1 class="page-title"><?php _e( 'Blog Archives', 'your-theme' ) ?></h1><br>
<?php endif; ?>
<ul class='withname1'>
<?php
$temp = $wp_query;
$wp_query= null;
$wp_query = new WP_Query();
$wp_query->query('showposts=8&cat='.$_GET['the_cats'].'&paged='.$paged);
?>
<?php if ($wp_query->have_posts()) : ?>
<?php while ($wp_query->have_posts()) : $wp_query->the_post(); ?>
<li>
<p class="title-header"><a href="<?php the_permalink(); ?>" class="post-title"><?php the_title(); ?></a></p>
<?php the_content(); ?>
</li>
<div class="clr"></div>
<div class='link-edit'>
Written by: <span class="author vcard"><a class="url fn n" href="<?php echo get_author_link( false, $authordata->ID, $authordata->user_nicename ); ?>" title="<?php printf( __( 'View all posts by %s', 'your-theme' ), $authordata->display_name ); ?>"><?php the_author(); ?></a></span><br>
<?php the_category(', ') ?>
<span class="hori">|</span> <span style='color:#AF75B1;'>
<?php the_time('jS F Y') ?>
</span> <span class="hori">|</span>
<?php edit_post_link('Edit', '', ' <span class="hori">|</span> '); ?>
<?php comments_popup_link('Comment (0)', ' Comment (1)', 'Comments (%)'); ?>
<span class='share-row'><br>Share: <?php if( function_exists('ADDTOANY_SHARE_SAVE_KIT') ) { ADDTOANY_SHARE_SAVE_KIT(); } ?></span>
</div>
<?php comments_template(); ?>
<?php endif; ?>
<?php endwhile;?>
<?php $wp_query = null; $wp_query = $temp;?>
<div class="navigation">
<div class="alignleft">
<?php previous_posts_link('Previous entries') ?>
</div>
<div class="alignright">
<?php next_posts_link('Next entries') ?>
</div>
</div>
<?php endif; ?>
</ul>
</div>
<!-- For ad banner -->
<!-- // End of ad banner -->
</div>
<?php get_sidebar(); ?>
</div>
</div>
<?php get_footer(); ?>
</div>