• There is a workaround for the single “]” problem at the end of the footnote. If you change footnotes to begin with “[[1. ” and end with “]]” and then manually change the plugin file named “endnotes-output.php: lines as below, you can use single “]” inside your footnote!

    31 if ( preg_match_all(‘/\[\[(\d+\. .*?)\]\]/s’, $content, $matches ) ) {
    32 foreach( $matches[0] as $fn ) {
    33 $note = preg_replace( ‘/\[\[\d+\. (.*?)\]\]/s’, ‘\1’, $fn );
    34 $notes[$n] = $note;

  • The topic ‘A Tweak to the beginning/ending footnote delimiters.’ is closed to new replies.