• I’m designing a wordpress theme and i have stumbled upon a strange problem.

    My post wont appear on the blog unless they are placed in 2 or more categories. Whenever i edit them to only be in 1 category they disappear. And i have NO idea why. I’ve made a lot of themes before and this is the first time i’ve run into this problem.

    This is my (work in progress) index file – The live site http://www.swtorcommunity.com

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head profile="http://gmpg.org/xfn/11">
    
    	<title><?php bloginfo('name'); ?><?php wp_title(); ?></title>
    
    	<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
    	<meta name="generator" content="WordPress <?php bloginfo('version'); ?>" /> <!-- leave this for stats please -->
    
    	<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
    	<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'); ?>" />
        <script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/dropdownmenu/script.js"></script>
    	<script type="text/javascript" src="<?php bloginfo('template_url'); ?>/js/featured/mootools.v1.11.js"></script>
    	<script type="text/javascript" src="<?php bloginfo('template_url'); ?>/js/featured/jd.gallery.js"></script>
        <script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/tabs/tabber.js"></script>
    
    	<?php wp_get_archives('type=monthly&format=link'); ?>
    	<?php //comments_popup_script(); // off by default ?>
    	<?php wp_head(); ?>
    </head>
    <body>
    
    <div id="top">
    	<div id="topwrapper">
        	<div id="lefttoptext">
            <p class="welcometext"><b>Welcome </b></p><p>to SWTOR Community - The place with the latest news, hottest interviews and friendly forum!</p>
            </div>
            <div id="righttoptext">
            <p>Not registered? <b>Click Here</b></p>
            </div>
        </div>
    </div>
    
    <div id="wrap">
    
    	<div id="header">
    
        	<div id="headerlogo">
            </div>
            <div id="loginsearch">
            	<div id="login">
                </div>
                <div id="search">
                </div>
            </div>
    
        </div>
    
    	<div class="clr">
        </div>
    
        <div id="menubox">
        <?php include ('menu.php'); ?>
        </div>
    
        <div class="clr">
        </div>
    
        <div id="featurewrap">
    
            <div id="feature">
    
                <div id="featuredarticle">
                <?php include ('featured.php'); ?>
                </div>
    
                <div id="featuredbox">
    			<?php include ('tabs.php'); ?>
                </div>
    
            </div>
         </div>
            <div class="clr">
            </div>
    
            	<div id="maincontenttop">
                </div>
    
            <div class="clr">
            </div>
    
            <div id="maincontentwrap">
    
                <div id="leftcontent">
                <p>test</p>
                </div>
    
                <div id="maincontent">
               		<div id="container">
                    <?php if(have_posts()) : ?><?php while(have_posts()) : the_post(); ?>
    
                    	<h2><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2>
    
                        <?php the_content(); ?>
    
    				<?php endwhile; ?>
    
    				<?php endif; ?>
    
                    </div>
                </div>
    
                <div id="rightcontent">
                <p>test</p>
                </div>
    
             </div>
    
             <div class="clr">
             </div>
    
             <div id="topfooter">
    
             </div>
    
             <div id="footer">
             </div>
    
    <script type="text/javascript">
    	var menu=new menu.dd("menu");
    	menu.init("menu","menuhover");
    </script>
    </div>
    </body>
    </html>
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘No content on blog’ is closed to new replies.