Allow to add TOC using shortcode (<!--toc-->). TOC add button in text editor.
This commit is contained in:
danpros 2024-02-20 22:47:45 +07:00
commit 6c8c1271c2
11 changed files with 100 additions and 8 deletions

View file

@ -38,7 +38,7 @@
<blockquote><?php echo $p->quote ?></blockquote>
</div>
<?php } ?>
<div class="post-body" itemprop="articleBody">
<div class="post-body post-<?php echo $p->date;?>" itemprop="articleBody">
<?php echo $p->body; ?>
</div>
<div class="tags"><strong><?php echo i18n('Tags');?></strong> <?php echo $p->tag;?></div>