Ok, so we have all our ducks in a row...
I am using the line of code you offer above. I have placed it in two locations on my single.php file surrounded by markers so it is obvious where it supposed to be displaying on the page (-- and ==). Here is my single.php file:
<?php
/**
* @package WordPress
* @subpackage Default_Theme
*/
get_header();
?>
<div id="content" class="widecolumn">
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<div class="navigation">
<div class="alignleft"><?php previous_post_link('« %link') ?></div>
<div class="alignright"><?php next_post_link('%link »') ?></div>
</div>
<div <?php post_class() ?> id="post-<?php the_ID(); ?>">
<h2><?php the_title(); ?></h2>
<div class="entry">
<?php the_content('<p class="serif">Read the rest of this entry »
'); ?>
<?php wp_link_pages(array('before' => '<strong>Pages:</strong> ', 'after' => '
', 'next_or_number' => 'number')); ?>
<?php the_tags( 'Tags: ', ', ', '
'); ?>
<!-- User-tagging code from: http://wordpress.org/support/topic/255106 -->
--
<div id="tagthis-<?php the_ID();?>" class="tagthis" style="display:none"></div>
==
<p class="postmetadata alt">
<small>
This entry was posted
<?php /* This is commented, because it requires a little adjusting sometimes.
You'll need to download this plugin, and follow the instructions:
http://binarybonsai.com/archives/2004/08/17/time-since-plugin/ */
/* $entry_datetime = abs(strtotime($post->post_date) - (60*120)); echo time_since($entry_datetime); echo ' ago'; */ ?>
on <?php the_time('l, F jS, Y') ?> at <?php the_time() ?>
and is filed under <?php the_category(', ') ?>.
You can follow any responses to this entry through the <?php post_comments_feed_link('RSS 2.0'); ?> feed.
<?php if (('open' == $post-> comment_status) && ('open' == $post->ping_status)) {
// Both Comments and Pings are open ?>
You can <a href="#respond">leave a response</a>, or <a href="<?php trackback_url(); ?>" rel="trackback">trackback</a> from your own site.
<?php } elseif (!('open' == $post-> comment_status) && ('open' == $post->ping_status)) {
// Only Pings are Open ?>
Responses are currently closed, but you can <a href="<?php trackback_url(); ?> " rel="trackback">trackback</a> from your own site.
<?php } elseif (('open' == $post-> comment_status) && !('open' == $post->ping_status)) {
// Comments are open, Pings are not ?>
You can skip to the end and leave a response. Pinging is currently not allowed.
<?php } elseif (!('open' == $post-> comment_status) && !('open' == $post->ping_status)) {
// Neither Comments, nor Pings are open ?>
Both comments and pings are currently closed.
<?php } edit_post_link('Edit this entry','','.'); ?>
</small>
</div>
</div>
<!-- User-tagging code from: http://wordpress.org/support/topic/255106 -->
--
<div id="tagthis-<?php the_ID();?>" class="tagthis" style="display:none"></div>
==
<?php comments_template(); ?>
<?php endwhile; else: ?>
Sorry, no posts matched your criteria.
<?php endif; ?>
</div>
<?php get_footer(); ?>
And here is the errors I am getting when I load that page (JS errors only, I am not bothering with the CSS errors which are unrelated):
JavaScript - http://www.soundunreason.com/InkWell/wp-content/plugins/community-tags/inc/js/jquery.form.js?ver=2.7.1
Linked script not loaded
JavaScript - http://www.soundunreason.com/InkWell/wp-content/plugins/community-tags/inc/js/jquery.timers.js?ver=2.7.1
Linked script not loaded
JavaScript - http://www.soundunreason.com/InkWell/wp-content/plugins/community-tags/inc/js/jquery.suggest.js?ver=2.7.1
Linked script not loaded
JavaScript - http://www.soundunreason.com/InkWell/?p=857
Event thread: load
Error:
name: TypeError
message: Statement on line 22: Type mismatch (usually non-object value supplied where object required)
Backtrace:
Line 22 of inline#1 script in http://www.soundunreason.com/InkWell/?p=857
$j("#tagthisform-"+index).ajaxForm(options);
... Line 1 of eval script
function(d,a,c){var e,i=0,length=d.length;if(c){if(length==undefined){for(e in d)if(a.apply(d[e],c)===false)break}else for(;i<length;)if(a.apply(d[i++],c)===false)break}else{if(length==undefined){for(e in d)if(a.call(d[e],e,d[e])===false)break}else for(var b=d[0];i<length&&a.call(b,i,b)!==false;b=d[++i]){}}return d}
Line 1 of eval script
function(a,b){return D.each(this,a,b)}
Line 7 of inline#1 script in http://www.soundunreason.com/InkWell/?p=857
$j(".tagthis").each(function(index,obj){
... Line 1 of eval script
function(){return a.call(this,D)}
... Line 1 of eval script
function(){this.call(document)}
... Line 1 of eval script
function(d,a,c){var e,i=0,length=d.length;if(c){if(length==undefined){for(e in d)if(a.apply(d[e],c)===false)break}else for(;i<length;)if(a.apply(d[i++],c)===false)break}else{if(length==undefined){for(e in d)if(a.call(d[e],e,d[e])===false)break}else for(var b=d[0];i<length&&a.call(b,i,b)!==false;b=d[++i]){}}return d}
Line 1 of eval script
function(){if(!D.isReady){D.isReady=true;if(D.readyList){D.each(D.readyList,function(){this.call(document)});D.readyList=null}D(document).triggerHandler("ready")}}
... Line 1 of eval script
function(b){var a,ret,namespace,all,handlers;b=arguments[0]=D.event.fix(b||window.event);namespace=b.type.split(".");b.type=namespace[0];namespace=namespace[1];all=!namespace&&!b.exclusive;handlers=(D.data(this,"events")||{})[b.type];for(var j in handlers){var c=handlers[j];if(all||c.type==namespace){b.handler=c;b.data=c.data;ret=c.apply(this,arguments);if(a!==false)a=ret;if(ret===false){b.preventDefault();b.stopPropagation()}}}return a}
... Line 1 of eval script
function(){if(typeof D!="undefined"&&!D.event.triggered)return D.event.handle.apply(arguments.callee.elem,arguments)}
...
stacktrace: n/a; see 'opera:config#UserPrefs|Exceptions Have Stacktrace'
Finally, here is the page I am referencing as I test this:
http://www.soundunreason.com/InkWell/?p=857
Help?