Hi, thanks so much for the prompt response! The code in question is in spForumView.php, immediately after the topic loop starts. I listed both the php, and the output html code from browser below.
I should mention that I have tried deactivating the autop and texturizing functions in the wordpress functions file with no change in the output. I do have page caching activated on my site, but I deleted the page cache when I test the page (I don’t think that the Forum is getting cached anyway, but I’m trying to cover my bases). What I have here is an anomaly–when I view the code with my browser’s element inspector (chrome), I see that the closing tag follows the anchor immediately. When I view the page source, everything seems in order. Even so, the code isn’t working. I can’t click anywhere on the anchor block and have it take me to the topic page. Something’s screwy–check out the code below to see what I mean:
(Sorry in advance about how much there is to read. I thought it would help to clarify things and give context)
It may also be helpful to take a look at the site I’m working on–I currently have set up a dummy installation to act as a sort of dry dock for the forum as I work on it. Here’s the URL: http://www.wplab.scottleneau.com/?page_id=4/topic-1-forum
CODE: (source spForumView.php)
if (sp_has_topics()) : while (sp_loop_topics()) : sp_the_topic();
# Start the ‘topic’ section
# ———————————————————————-
//This calls the URL and echos it:
$p = sp_MIBYG_topics();
echo “<a href=”$p”>”;
//THE DIV THAT ACTS AS CONTAINER FOR EACH TOPIC SECTION:
echo “<div id=”topic_row_container” class=”clearfix”>”;
sp_SectionStart(‘tagClass=spForumTopicSection’, ‘topic’);
sp_TopicForumToolButton(”, ”, __sp(‘Open the forum toolset’));
# Column 1 of the topic row
# ———————————————————————-
sp_ColumnStart(‘tagClass=spColumnSection spLeft&100px&height=50px’, ”,’margin-left:10px;’);
sp_TopicIndexIcon(‘tagClass=spRowIcon spLeft’);
sp_ColumnEnd();
# Column 2 of the topic row
# ———————————————————————-
sp_ColumnStart(‘tagClass=spColumnSection spLeft&width=300px&height=50px’);
sp_TopicIndexName(‘tagClass=spRowName’, __sp(‘Browse the thread %NAME%’));
if (function_exists(‘sp_TopicDescription’)) sp_TopicDescription();
sp_TopicIndexPostPageLinks(‘tagClass=spInRowPageLinks spLeft’, __sp(‘Jump to page %PAGE% of posts’));
if (function_exists(‘sp_TopicIndexTagsList’)) sp_TopicIndexTagsList(‘tagClass=spTopicTagsList spButton spLeft’, __sp(‘Tags’), __sp(‘Show the tags for this topic’));
if (function_exists(‘sp_TopicIndexTopicStatus’)) sp_TopicIndexTopicStatus(‘tagClass=spTopicIndexStatus spButton spLeft’, __sp(‘Search for other topics with this status’));
sp_ColumnEnd();
# Column 5 of the forum row
# ———————————————————————-
sp_ColumnStart(‘tagClass=spColumnSection spRight&width=16%&height=50px’, ”, ‘margin-top:10px; line-height:.8em;’);
sp_TopicIndexLastPost(‘iconClass=spIcon spRight&nicedate=1&date=0&time=0&stackdate=0’, __sp(‘Last Post’));
sp_ColumnEnd();
# Column 4 of the forum row
# ———————————————————————-
sp_ColumnStart(‘tagClass=spColumnSection spRight&width=16%&height=50px’, ”, ‘margin-top:10px; line-height:.8em;’);
sp_TopicIndexFirstPost(‘iconClass=spIcon spRight&nicedate=1&date=0&time=0&stackdate=0’, __sp(‘First Post’));
sp_ColumnEnd();
# Column 3 of the forum row
# ———————————————————————-
sp_ColumnStart(‘tagClass=spColumnSection spRight&width=14%&height=50px’, ”, ‘margin-top:15px; line-height:.8em;’);
sp_TopicIndexPostCount(‘tagClass=spInRowCount’, __sp(‘Posts’));
sp_TopicIndexViewCount(‘tagClass=spInRowCount’, __sp(‘Views’));
sp_TopicIndexStatusIcons(‘tagClass=spStatusIcon spCenter’, __sp(‘This topic is locked’), __sp(‘This topic is pinned’), __sp(‘This topic has unread posts’));
if (function_exists(‘sp_TopicIndexRating’)) sp_TopicIndexRating(‘tagClass=spTopicRating spCenter’);
sp_ColumnEnd();
sp_InsertBreak();
sp_SectionEnd(”, ‘topic’);
//ENDS DIV THAT CONTAINS BUTTONS (notice the ending </div> and </a>)
echo “</div></a><!–End Forum_row_container–>”;
endwhile; else:
sp_NoTopicsInForumMessage(‘tagClass=spMessage’, __sp(‘There are no topics in this forum’));
endif;
sp_SectionEnd(”, ‘topiclist’);
sp_SectionEnd(”, ‘forum’);
OUTPUT:
I copied the whole topic block from my browser’s source code to show you the output. What baffles me a little bit is that when I’m looking at the code in chrome’s element inspector, the anchor tag has a closing tag immediately following it. But when I look at the page source code, this is what I see:
<div class=’spForumTopicContainer’ id=’topiclist2’style=”margin-top:10px;”>
/*This is the problematic anchor tag. See that it is missing the closing tag now? Well, it still isn’t working*/
<a href=”http://www.wplab.scottleneau.com/?page_id=4/topic-1-forum/new-topic-for-the-heck-of-it”>
/*This is the div that I added to surround the whole topic block. It is working just fine.*/
<div id=”topic_row_container” class=”clearfix”>
<div class=’spForumTopicSection spOdd’ id=’topic5′>
<div class=’spColumnSection spLeft’ style=’width: auto; min-height: 50px; margin-left:10px;’>
<img id=’spTopicIndexIcon5′ class=’spRowIcon spLeft’ src=’http://www.wplab.scottleneau.com/wp-content/sp-resources/forum-custom-icons/MIBYG_FORUM_ICON-copy.png’ alt=” />
</div>
<div class=’spColumnSection spLeft’ style=’width: 300px; min-height: 50px; ‘>
<a href=’http://www.wplab.scottleneau.com/?page_id=4/topic-1-forum/new-topic-for-the-heck-of-it’ id=’spTopicIndexName5′ class=’spRowName vtip’ title=’Browse the thread New Topic for the heck of it’>New Topic for the heck of it</a>
</div>
<div class=’spColumnSection spRight’ style=’width: 16%; min-height: 50px; margin-top:10px; line-height:.8em;’>
<div id=’spTopicIndexLastPost5′ class=’spInRowPostLink’>
<span class=’spInRowLabel’>Last Post
<a class=’spInRowLastPostLink vtip’ title=’qegrtqeht’ href=’http://www.wplab.scottleneau.com/?page_id=4/topic-1-forum/new-topic-for-the-heck-of-it#p22′>
<img src=’http://www.wplab.scottleneau.com/wp-content/sp-resources/forum-themes/MIBYG/images/sp_ArrowRight.png’ class=’spIcon spRight’ alt=”/>
</a></span>
<span class=’spInRowLabel’><br />sleneau</span><br /><span class=’spInRowLabel’>2 days ago</span>
</div>
</div>
<div class=’spColumnSection spRight’ style=’width: 16%; min-height: 50px; margin-top:10px; line-height:.8em;’>
<div id=’spTopicIndexFirstPost5′ class=’spInRowPostLink’>
<span class=’spInRowLabel’>First Post
<a class=’spInRowLastPostLink vtip’ title=’qegrtqeht’ href=’http://www.wplab.scottleneau.com/?page_id=4/topic-1-forum/new-topic-for-the-heck-of-it#p22′>
<img src=’http://www.wplab.scottleneau.com/wp-content/sp-resources/forum-themes/MIBYG/images/sp_ArrowRight.png’ class=’spIcon spRight’ alt=”/>
</a></span>
<span class=’spInRowLabel’><br />sleneau</span><br /><span class=’spInRowLabel’>2 days ago</span>
</div>
</div>
<div class=’spColumnSection spRight’ style=’width: 14%; min-height: 50px; margin-top:15px; line-height:.8em;’>
<div id=’spTopicIndexPostCount5′ class=’spInRowCount’>
<span class=’spInRowLabel’>Posts </span>
<span class=’spInRowNumber’>1</span>
<span class=’spInRowLabel’></span>
</div>
<div id=’spTopicIndexViewCount5′ class=’spInRowCount’>
<span class=’spInRowLabel’>Views </span>
<span class=’spInRowNumber’>3</span>
<span class=’spInRowLabel’></span>
</div>
<div id=’spTopicIndexStatus5′ class=’spStatusIcon spCenter’>
</div>
</div>
<div style=’clear: both; height:0px;’></div>
</div>
/*This is the closing tag for the div surrounding the whole topic block. As you can see, the closing anchor tag is here. Nevertheless, it still isn’t working. I can’t understand it.*/
</div></a>