前言介紹
- 這款 WordPress 外掛「Bg Patriarchia BU」是 2017-02-27 上架。 目前已經下架不再更新,不建議安裝使用。
- 目前有 20 個安裝啟用數。
- 上一次更新是 2023-01-13,距離現在已有 842 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
- 外掛最低要求 WordPress 3.0.1 以上版本才可以安裝。
- 有 4 人給過評分。
- 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。
外掛協作開發者
vbog |
外掛標籤
liturgy | worship | orthodoxy | Christianity | православие |
內容簡介
отра богослужебных указаний при использовании шорт-кода [patriarchiaBU], установить формат даты для вывода на странице и в ссылках, а также включить или выключить отображение внешних ссылок в тексте.
Кроме того, вы можете задать дополнительные параметры для шорт-кода [datelink], такие как текст ссылки, URL и target атрибут.
Кеш плагина обновляется один раз в сутки, при условии наличия новой информации на Patriarchia.ru. Новости копируются на ваш сайт в каталог /wp-content/uploads/bg_pbu/.
The short-code [patriarchiaBU] displays liturgical instructions (priority 1 when processing text).
Parameters:
date - the date in the YYYY-MM-DD format of the new style.
If date is not specified, then the presence of a date in the address bar is checked first (for example, http://bogaiskov.ru/bu?date=2017-02-26).
If the date is not specified in the address bar or is specified incorrectly, the current date is taken.
If a number with the "+" or "-" sign is specified instead of the date, it is interpreted as an offset from the current date. For example, date='+1' - tomorrow, date='-1' - yesterday, and so on.
hlink = off - external links in the text are removed, on - external links in the text without changes.
Liturgical instructions are displayed on the screen in the
The short-codes [the_prevday] and [the_nextday] allow you to insert links into the page text to go to the previous or next day.
To change the link text, use the title parameter; the %date% placeholder will be replaced with the current date. The default is "Previous day" and "Next day".
The links are assigned classes: class="bg_pbu_prevday" and class="bg_pbu_nextday".
The short-code [datelink] allows you to create a hyperlink to a URL specified as a parameter.
The date in the YYYY-MM-DD format from the command line is added to the end of the link. If it is not specified, the current date is used.
Parameters:
title - the link text, the %date% placeholder will be replaced with the current date,
url - the target URL,
target - the target attribute of the a tag, default is target='_blank'.
The link is assigned a class: class="bg_pbu_datelink".
Plugin settings
On the settings page, you can specify the frequency of updating the internal (transient) cache of the plugin.
If you specify "instantly", the cache will be reset a second after the page is refreshed.
You can also set the order of display of the liturgical instructions when using the [patriarchiaBU] shortcode, set the date format for display on the page and in links, and enable or disable the display of external links in the text.
The plugin cache is updated once a day, provided that there is new information on Patriarchia.ru. The news is copied to your site in the /wp-content/uploads/bg_pbu/ directory.
原文外掛簡介
Раз в сутки плагин проверяет наличие новой информации на Patriarchia.ru и копирует ее на ваш сайт в каталог /wp-content/uploads/bg_pbu/.
Шорт-код [patriarchiaBU] выводит на экран богослужебные указания (имеет приоритет 1 при обработке текста).
Параметры:
date – дата в формате YYYY-MM-DD по новому стилю.
Если date не указана, то сначала проверяется наличие даты в адресной строке (например, http://bogaiskov.ru/bu?date=2017-02-26).
Если дата в адресной строке не указана или указана с ошибкой, то принимается текущая дата.
Если вместо даты задано число со знаком ‘+’ или ‘-‘, то это воспринимается как смещение относительно текущей даты.
Например, date='+1' – завтра, date='+2' – послезавтра и т.д., и соответственно: date='-1' – вчера, date='-2' – позавчера и т.д.
hlink = 'off' – внешние ссылки в тексте удалены, 'on' – внешние ссылки в тексте без изменений.
Богослужебные указания выводятся на экран в контейнере
.
Шорт-коды [the_prevday] и [the_nextday] позволяют вставить в текст страницы ссылки для перехода на предыдущий/следующий день.
Чтобы изменить текст ссылки используйте параметр title, вместо плейсхолдера %date% будет подставлена рабочая дата.
По умолчанию Предыдущий день и Следующий день.
Ссылкам присвоены классы соответственно: class="bg_pbu_prevday" и class="bg_pbu_nextday".
Шорт-код [datelink] позволяет сформировать гиперссылку на указанный в качестве параметра URL.
В конце ссылки добавляется дата в формате YYYY-MM-DD из командной строки.
Если таковая отсутствует, то текущая дата.
Параметры:
title – текст ссылки, вместо плейсхолдера %date% будет подставлена рабочая дата,
url – ссылка для перехода,
target – атрибут target тега a, по умолчанию target=’_blank’.
Ссылке присвоен класс: class="bg_pbu_datelink".
Настройки плагина
На странице настроек вы можете указать периодичность обновления внутреннего (transient) кеш плагина.
Если указать моментально, то кеш будет сброшен через секунду после обновления страницы.
Вы можете также выбрать порядок просмотра и поиска данных в источниках: на сайтах Patriarchia.ru и/или calendar.rop.ru.
Отметив пункт Обновить файлы сейчас и нажав кнопку Сохранить изменения, вы инициируете фоновый процесс обновления файлов на вашем сервере.
Процесс может занять 3-5 минут. Результаты фиксируются в log-файле в папке с плагином: /wp-content/uploads/bg_pbu/inc/
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Bg Patriarchia BU」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
延伸相關外掛(你可能也想知道)
Bg Orthodox Calendar 》- 该插件可以显示正教日历的窗口- 窗口中的每一天都会显示日期和各种庆祝活动、纪念日等- 光明的复活节会以白色字体在红色背景上显眼,而约旦水节和其他大型...。
Bg Bible References 》插件介紹:, , , 可將聖經的參考文獻以超連結方式標示。, 聖經中互相對應的章節。, 聖經聖父和教會教師的聖經詮釋。, 將參考文獻轉換為標準格式。, 在文章中...。
Daily Bible Verse 》這個外掛可以讓你將每日聖經經文小工具添加到你的 WordPress 頁面上。這個外掛精選了完整的聖經經文目錄,提供給你和你的網站訪客!總共有31,102節聖經經文可...。
Bg Church Memos 》這個外掛可以幫助你建立、保存和列印教會健康和安魂的記事。, 詳細資訊只提供俄文:, 插件允許在正教教堂的“關於健康”和“安魂”的記事中創建、保存和列印記事...。
GodInterest Share Button 》在您的網站上添加「分享到Godinterest」按鈕,讓您的訪客開始分享您的精彩內容!, 在 2 分鐘內在您的文章中添加一個簡單的「分享到Godinterest」按鈕!, 無需...。