Skip to content
This repository has been archived by the owner. It is now read-only.

Commit

Permalink
Fixing invalid ID on AZ lists.
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewmbacon committed Jul 27, 2015
1 parent 3252128 commit 756e0b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion content-az.php
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ function getChars(){
echo '</ol></div>';
}
if( !in_array($char, $letters) ){
echo '<div class="az-letter"><a name="'.$char.'-pages" class="az-anchor"></a><h2 id="'.$char.'-pages az-letter-title"><span class="az-letter">'.$char.'</span></h2><ol class="az-letter-list">';
echo '<div class="az-letter"><a name="'.$char.'-pages" class="az-anchor"></a><h2 id="'.$char.'-pages" class="az-letter-title"><span class="az-letter">'.$char.'</span></h2><ol class="az-letter-list">';
array_push($letters, $char);
}
echo '<li><a href="'.get_page_link($pg->ID).'" class="az-letter-page">'.$title.'</a></li>';
Expand Down

0 comments on commit 756e0b1

Please sign in to comment.