• Hi!
    All my posts on my site http://truemoneymaker.net loads very slowly.. The main page, categories etc. load fasth enough, but the posts load very slowly 🙁

    Can anyone tell me why? Example; http://truemoneymaker.net/2007/01/02/80euromail-is-a-scam/

    Here is the single.php code

    <?php get_header(); ?>
    <script language='javascript' src='http://v11.mivainline.eu.miva.com/MivaLine/GetHighlightContext.aspx?pid=7194&cc=uk&sa=1&rkwc=10&ft=1&imp=1063'></script>
    <div id="content">
    
      <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
    
    			<div class="postwrapper" id="post-<?php the_ID(); ?>">
    			  <div class="title">
    				<small><?php the_time('jS M, Y') ?></small>
    				<h2><?php the_title(); ?></h2>
    			  </div>
    			  <div class="post">
    			    <div class="entry">
    			      <?php the_content(''); ?> 		        </div>
    			    <div class="postinfo"> 			      <p>Posted by: <strong><?php the_author() ?></strong></p>
    				  <p>Categories:<br />
                      <?php the_category('<br />') ?></p>
    
    <SCRIPT LANGUAGE="JavaScript">
    <!-- Begin
    
    //Script by TrÂnn: http://come.to/tronds
    //Submitted to JavaScript Kit (http://javascriptkit.com)
    //Visit http://javascriptkit.com for this script
    
    var initialsubj="Hi buddy, take a look at this"
    var initialmsg="Hi:\n You may want to check out this site: "+window.location
    var good;
    function checkEmailAddress(field) {
    
    var goodEmail = field.value.match(/\b(^(\S+@).+((\.com)|(\.net)|(\.edu)|(\.mil)|(\.gov)|(\.org)|(\.info)|(\.sex)|(\.biz)|(\.aero)|(\.coop)|(\.museum)|(\.name)|(\.pro)|(\..{2,2}))$)\b/gi);
    if (goodEmail) {
    good = true;
    }
    else {
    alert('Please enter a valid address.');
    field.focus();
    field.select();
    good = false;
       }
    }
    u = window.location;
    function mailThisUrl() {
    good = false
    checkEmailAddress(document.eMailer.email);
    if (good) {
    
    //window.location = "mailto:"+document.eMailer.email.value+"?subject="+initialsubj+"&body="+document.title+" "+u;
    window.location = "mailto:"+document.eMailer.email.value+"?subject="+initialsubj+"&body="+initialmsg
       }
    }
    //  End -->
    </script>
    
    <form name="eMailer">
    <input type="text" name="email" size="10" value="Tell a Friend" onFocus="this.value=''" onMouseOver="window.status='Enter email address here and tell a friend about this site...'; return true" onMouseOut="window.status='';return true">
    <input name="button" type="button" onclick="mailThisUrl();" onmouseover="window.status='Click to send an email (with this page address) to a friend! Enter email address above...'; return true" onmouseout="window.status='';return true" value=     "  Send!  " />
    <br />
    </form>
    			    </div>
    			  </div>
    			</div>
    
    	<?php comments_template(); ?>
    
    	<?php endwhile; else: ?>
    
    		<div class="title">
    		  <h2>Not Found</h2>
    		</div>
    		<div class="post">
    		<p class="center">Sorry, but you are looking for something that isn't here.</p>
    		<?php include (TEMPLATEPATH . "/searchform.php"); ?>
    	    </div>
    <?php endif; ?>
    
    	<div class="title">
    	  <h2>Categories</h2>
    	</div>
    	<div class="post">
    	  <ul class="catlist">
            <?php wp_list_cats('sort_column=name&hide_empty=0'); ?>
    	  </ul>
    	</div>
      </div>
    
    <?php get_sidebar(); ?>
    <div align="center"></div>
    <?php get_footer(); ?>
    <script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
    </script>

    <script type=”text/javascript”>
    _uacct = “UA-267940-3”;
    urchinTracker();
    </script>

Viewing 1 replies (of 1 total)
  • Loads fine for me but you might want to sort out the DOCTYPE/head order in your header.php file.

Viewing 1 replies (of 1 total)

The topic ‘Posts on my WordPress site loading slow’ is closed to new replies.