Blog fails to show categories, sidebar posts, and post comments
-
Hi there, our blog at http://bespokes.com/blog seems to be experiencing problems
Whilst posts display and plugins work, the sidebar does not show up categories or post titles at all, and posts do not show up the comments (accepted on wp-admin). Any help would be most appreciated!
I have included the code to our theme index.php below
[code]
<style type="text/css">
@import url( <?php bloginfo('stylesheet_url'); ?> );
</style><meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
<meta name="generator" content="WordPress <?php bloginfo('version'); ?>" /><link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="<?php bloginfo('rss2_url'); ?>" />
<link rel="alternate" type="text/xml" title="RSS .92" href="<?php bloginfo('rss_url'); ?>" />
<link rel="alternate" type="application/atom+xml" title="Atom 0.3" href="<?php bloginfo('atom_url'); ?>" />
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" /><?php
$page = "Blog";
$baseM = "http://bespokes.com";
$baseU = "$baseM/blog/wp-content/themes/bespokes";echo'<title>Bespokes | ' . $page . '</title>';
require("../header.php");
echo'<table cellpadding="0" cellspacing="0" id="sidenav"><tr><td>';
/* #### SIDEBAR ####
@package WordPress
@subpackage Bespokes*/
echo'
<div id="menu">
<ul id="sidebar">';if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar() ) : ?>
<?php endif;
echo'</div>
</table>' . $sideBar;
echo'</td><td>
<table cellpadding="20" cellspacing="0" id="blogtext" height="300"><tr valign="top"><td>
<div id="innerT">
<div id="content">'; ?><?php
/* #### CONTENT #### */
if (have_posts()) : while (have_posts()) : the_post(); ?>
<div <?php post_class() ?> id="post-<?php the_ID(); ?>">
<table cellpadding="0" cellspacing="0" width="100%" style="font-size: 12px;"><tr valign="top"><td>
<span class="storytitle">" rel="bookmark"><?php the_title(); ?></span><i>by</i> <?php the_author() ?> <i>on</i> <?php the_date('','',''); ?></div>
<td align="right">
<div class="feedback">
<?php wp_link_pages(); ?>
<?php comments_popup_link(__('<img src="'.$baseU.'/images/comment.jpg"> 0'), __('<img src="'.$baseU.'/images/comment.jpg"> 1'), __('<img src="'.$baseU.'/images/comment.jpg"> %')); ?>
</div>
</td></table><div class="storycontent" style="font-size: 12px;">
<?php the_content(__('(more...)')); ?>
</div><div class="meta"><?php _e("Category:"); ?> <?php the_category(',') ?> — <?php the_tags(__('Tags: '), ', ', ' — '); ?> <?php edit_post_link(__('Edit This')); ?></div>
</div><?php comments_template(); ?>
<?php endwhile; else: ?>
<p><?php _e('We couldn't find any posts to match your search.'); ?></p>
<?php endif; ?><?php posts_nav_link(' — ', __('« Newer Posts'), __('Older Posts »')); ?>
<?php
echo'</div></div></td></tr>
<tr><td align="right" colspan="3">
<div class="dark" style="padding-top: 20px; font: bold 10px verdana;">Uproar Design</div></table>';
echo'</td></tr></table>
</td></tr></table></div>
</div></div>';$bg = rand(1,2);
echo'<img id="bg" src="'.$baseM.'/images/b1.jpg">';
?>
[/code]
The blog I need help with is: (visible only to logged in users)
-
The blog you specified at http://www.bespokes.com does not appear to be hosted at WordPress.com.
This support forum is for WordPress.com hosted blogs only. If you have a self-hosted WordPress blog you need to seek help at the WordPress.org forums, not here.
If you don’t understand the difference, you may find this information helpful.
-
- The topic ‘Blog fails to show categories, sidebar posts, and post comments’ is closed to new replies.