Skip to content

Commit

Permalink
get_toc_do_shortcode_content関数で本文取得時にブロックの展開
Browse files Browse the repository at this point in the history
  • Loading branch information
yhira committed Jun 28, 2019
1 parent 0a3cf8d commit 0f0e680
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/toc.php
Expand Up @@ -345,6 +345,7 @@ function get_toc_do_shortcode_content(){
if (is_singular()) {
$the_content = get_shortcode_removed_content(get_the_content());
$the_content = do_shortcode($the_content);
$the_content = do_blocks($the_content);
return $the_content;
}
}
Expand Down

0 comments on commit 0f0e680

Please sign in to comment.