Skip to content

Instantly share code, notes, and snippets.

@nschaeferhoff
Last active December 19, 2020 01:23
Show Gist options
  • Select an option

  • Save nschaeferhoff/d8e7614a714a392e62130c52457db838 to your computer and use it in GitHub Desktop.

Select an option

Save nschaeferhoff/d8e7614a714a392e62130c52457db838 to your computer and use it in GitHub Desktop.

Revisions

  1. nschaeferhoff revised this gist Nov 29, 2017. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion Post word count in WordPress page template
    Original file line number Diff line number Diff line change
    @@ -1 +1 @@
    echo '<div id="word-count">This post contains ' . word_count() . ' words.</div>';
    echo '<div class="word-count">This post contains ' . word_count() . ' words.</div>';
  2. nschaeferhoff created this gist Nov 22, 2017.
    1 change: 1 addition & 0 deletions Post word count in WordPress page template
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    echo '<div id="word-count">This post contains ' . word_count() . ' words.</div>';