This fix is for Atahualpa version 3.5.1 and 3.5.2
=======================
DESCRIPTION: The directions at ATO->Edit POST/PAGE INFO ITEMS indicate
Quote:
NOTE: On single post pages the %comments('...')% link won't display anything because the comments are on the same page. If you still want to link to the comments, the comment section and the comment form start with named anchors, so you use something like this: <a href="#comments">Skip to comments</a> or <a href="#commentform">Skip to comments form</a> |
CAUSE: This issue occurs because the '#' is used as the php DATE escape character in the Atahualpa options. Because the php DATE() function has so many options and each needs to be escaped, when the footer (or kicker or title) is being displayed, all occurrences of '#' are changed to '\' leading to this problem.
FIX: change the last line of bfa_postinfo.php from
HTML Code:
?>
HTML Code:
function getH() { global $bfa_ata, $post; return('#'); } ?>
HTML Code:
<a href="#commentform">Skip to comments form</a>
HTML Code:
<?php echo '<a href="'.getH().'commentform">Skip to comments form</a>'; ?>
Optionally, if you would like the documentation at ATO->Edit POST/PAGE INFO ITEMS to reflect this change, edit bfa_ata_admin.php and change line 269 from
HTML Code:
<code><a href="#comments">Skip to comments</a></code> or <code><a href="#commentform">Skip to comments form</a></code>
HTML Code:
<code><?php echo '<a href="'.getH().'comments">Skip to comments</a>'; ?></code> or <code><?php echo '<a href="'.getH().'commentform">Skip to comments form</a>'; ?></code>