內容簡介
這是 ID-SK 主題的功能工具包。我們建議使用這個套件與 ID-SK Template WordPress 主題一起使用。
如需更多有關組件及其使用方式的資訊,請參閱 ID-SK Frontend – 電子服務統一設計手冊。
版權
ID-SK Toolkit WordPress 插件,版權 2021 Slovensko IT, a.s..
ID-SK 使用 GNU GPLv2 或更新版本和 Open Government Licence v3.0 的使用條款進行發布。
資源
除非特別指定,所有插件圖像都是由我們創建,並在與插件相同的授權下進行許可。
額外功能
Gutenberg ID-SK 組件
Gutenberg ID-SK 圖案
支援上傳 SVG 圖像
Cookie
短碼和自訂功能
Cookie
基本 Cookie 是自動啟用給搜尋引擎使用的。
顯示所有已啟用的 Cookie:
[idsk-cookie-list]
您可以在文字編輯器中封鎖 Cookie,方法如下:
如果設定了基本 Cookie,則將內容添加到頁面中:
[idsk-cookie]您的內容[/idsk-cookie]
如果接受了特定 ID 的 Cookie,則將內容添加到頁面中:
[idsk-cookie id="example1"]您的內容[/idsk-cookie]
您也可以使用 PHP 封鎖 Cookie:
如果設定了基本 Cookie,則將內容添加到頁面中:
if ( function_exists('idsktk_cookies_allowed') && idsktk_cookies_allowed() ) {
// 您的程式碼
}
如果接受了特定 ID 的 Cookie,則將內容添加到頁面中:
if ( function_exists('idsktk_cookies_allowed') && idsktk_cookies_allowed('example1') ) {
// 您的程式碼
}
Cookie 設定頁面和添加自訂 Cookie
添加接受 Cookie 的勾選框:
[idsk-cookie-allow id="example1" title="Cookie 名稱/Cookie 類別名稱"]Cookie 詳情[/idsk-cookie-allow]
如果未指定 ID,將顯示基本 Cookie 的勾選框
添加保存 Cookie 設定的按鈕。此按鈕必須放置在與勾選框相同的頁面上。
[idsk-cookie-submit title="儲存設定"]
外掛標籤
開發者團隊
原文外掛簡介
Features toolkit for ID-SK theme. We recommend using this package with the WordPress theme ID-SK Template.
For more informations about components and their usage, visit ID-SK Frontend – Unified design manual of electronic services.
Copyright
ID-SK Toolkit WordPress plugin, Copyright 2021 Slovensko IT, a.s..
ID-SK is distributed under the terms of the GNU GPLv2 or later and under the terms of Open Government Licence v3.0
Resources
Unless otherwise specified, all the plugin images are created by us and licensed under the same license as the plugin is.
Additional functionalities
Gutenberg ID-SK components
Gutenberg ID-SK patterns
Support for uploading SVG images
Cookies
Shortcodes & Custom functions
Cookies
Basic cookies are automatically enabled for search engines.
To show all active cookies in table view:
[idsk-cookie-list]
You can block cookies in text editor as follow:
Adds content in the block to the page if basic cookies are set:
[idsk-cookie]Your content[/idsk-cookie]
Adds content in the block to the page if cookies with specific ID are accepted:
[idsk-cookie id="example1"]Your content[/idsk-cookie]
You can also block cookies with PHP:
Adds content in the block to the page if basic cookies are set:
if ( function_exists('idsktk_cookies_allowed') && idsktk_cookies_allowed() ) {
// Your code
}
Adds content in the block to the page if cookies with specific ID are accepted:
if ( function_exists('idsktk_cookies_allowed') && idsktk_cookies_allowed('example1') ) {
// Your code
}
Cookies settings page and adding own cookies
Adds checkbox with cookies acceptance:
[idsk-cookie-allow id="example1" title="Cookie name/Cookie category name"]Cookie details[/idsk-cookie-allow]
If no ID is specified, check box for basic cookies will be shown
Adds button for saving cookies settings. The button must be placed on the same page as the checkboxes with cookies acceptance.
[idsk-cookie-submit title="Save settings"]
