Cotonti Reading Time

Эта страница еще не переведена на украинский. Отображен оригинал страницы на английском языке. Вы можете зарегистрироваться и помочь с переводом.

Plugin Reading Time lets you add estimated page reading time to your Cotonti posts.

#1. Install and configure

  1. Download plugin from the repository, unpack the contents and upload to the plugins folder of the remote server.
  2. Configure plugin settings (field lists, reading speed & optional tags) as needed.
  3. Place TPL-tags in the templates.

#2. TPL-tags generated by the plugin:

All TPL-tags are included in the array produced by the cot_generate_pagetags() function:

  • READING_TIME ("XX minutes" format)
  • READING_TIME_DIG ("XX" format)
  • READING_TIME_TXT ("minutes" format)

#2.1. Additional pagetags:

  • LENGTH_META_TITLE (length of meta title)
  • LENGTH_META_DESC (length of meta description)
  • LENGTH_TITLE (length of page title)
  • LENGTH_DESCRIPTION (length of page description)
  • LENGTH_TEXT (length of page text)

You can place those in the corresponding templates using prefixes PAGE_, PAGE_ROW_, LIST_ROW_ etc.