Перейти к содержимому
WordPress.org

Русский

  • Темы
  • Плагины
  • Новости
    • Документация
    • Форумы
  • О WordPress
  • Сообщество
  • Скачать WordPress
Скачать WordPress
WordPress.org

Plugin Directory

Better Datelines

  • Отправить плагин
  • Мои избранные
  • Войти
  • Отправить плагин
  • Мои избранные
  • Войти

Этот плагин не тестировался с последними 3 основными выпусками WordPress. Скорее всего, он уже не поддерживается и может быть несовместим с текущими версиями WordPress.

Better Datelines

Автор: Rinat
Скачать
  • Детали
  • Отзывы
  • Установка
  • Разработка
Поддержка

Описание

A dateline is a brief piece of text included in news articles that describes where and when the story occurred, or was written or filed, though the date is often omitted. This plugin gives you ability to store datelines as a meta field so you don’t have to include them in your post body.

You can use either [better-dateline] shortcode to insert dateline manually or automatically prepend post content with a dateline. (See Frequently Asked Questions)

If you’d like to check out the code and contribute, join us on GitHub. Pull requests, issues, and plugin recommendations are more than welcome!

Скриншоты

Screenshot of edit post screen with a dateline
Screenshot of edit post screen with a dateline
Screenshot of a post with a dateline
Screenshot of a post with a dateline

Установка

  1. Upload the better-datelines folder to your plugins directory (e.g. /wp-content/plugins/).
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. You’ll see a dateline textarea on post edit screen.

Часто задаваемые вопросы

How do I enable automatic prepending of dateline to the post content?

Put add_filter( ‘better_datelines_prepend_the_content’, ‘__return_true’ ); to your theme’s functions.php

How do I change the format of automatically prepended dateline?

There’s another filter for that: ‘better_datelines_formatted_content’, filter accepts 3 arguments, so to add a filter add_filter( ‘better_datelines_formatted_content’, ‘my_better_datelines_formatted_content’, 10, 3); function my_better_datelines_formatted_content( $formatted_content, $dateline, $original_content ) { // Do something

    return $formatted_content; } 

Отзывы

Нет отзывов об этом плагине.

Участники и разработчики

«Better Datelines» — проект с открытым исходным кодом. В развитие плагина внесли свой вклад следующие участники:

Участники
  • Rinat

Перевести «Better Datelines» на ваш язык.

Заинтересованы в разработке?

Посмотрите код, проверьте SVN репозиторий, или подпишитесь на журнал разработки по RSS.

Журнал изменений

0.1

  • Initial Release

Мета

  • Версия 0.1
  • Обновление: 13 лет назад
  • Активных установок: Менее 10
  • Версия WordPress 3.6 или выше
  • Совместим вплоть до: 3.7.41
  • Язык
    English (US)
  • Метки:
    contenteditorialexcerptnews
  • Дополнительно

Оценки

5 из 5 звёзд.
  • 1 5-звездный отзыв 5 звёзд 1
  • 0 4-звездный отзыв 4 звезды 0
  • 0 3-звездный отзыв 3 звезды 0
  • 0 2-звездный отзыв 2 звезды 0
  • 0 1-звездный отзыв 1 звезда 0

Ваш отзыв

Посмотреть всеотзывы

Участники

  • Rinat

Поддержка

Есть что сказать? Нужна помощь?

Перейти в форум поддержки

  • О нас
  • Новости
  • Хостинг
  • Приватность
  • Витрина
  • Темы
  • Плагины
  • Паттерны
  • Обучение
  • Поддержка
  • Разработчики
  • WordPress.TV ↗
  • Присоединиться
  • События
  • Поддержать ↗
  • Сувениры ↗
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

Русский

  • Посетите нас в X (ранее Twitter)
  • Посетите нашу учётную запись в Bluesky
  • Посетите нашу ленту в Mastodon
  • Посетите нашу учётную запись в Threads
  • Посетите нашу страницу на Facebook
  • Посетите наш Instagram
  • Посетите нашу страницу в LinkedIn
  • Посетите нашу учётную запись в TikTok
  • Посетите наш канал YouTube
  • Посетите нашу учётную запись в Tumblr
Код — это поэзия.
The WordPress® trademark is the intellectual property of the WordPress Foundation.