Fix
This commit is contained in:
parent
abd8c65ee7
commit
d80cbb4c32
2 changed files with 3 additions and 3 deletions
|
@ -168,13 +168,13 @@
|
|||
// phpcs:disable WordPress.CodeAnalysis.AssignmentInCondition
|
||||
$i = 1;
|
||||
while ( $section_title = get_post_meta( get_the_ID(), 'ToC' . $i, true ) ) :
|
||||
?>
|
||||
?>
|
||||
<li>
|
||||
<a href="#section-<?php echo esc_attr( $i++ ); ?>">
|
||||
<?php echo wp_kses_post( $section_title ); ?>
|
||||
</a>
|
||||
</li>
|
||||
<?php
|
||||
<?php
|
||||
endwhile;
|
||||
// phpcs:enable
|
||||
?>
|
||||
|
|
Reference in a new issue