
內容簡介
Blocks 可讓您創建自己可重複使用的內容區塊,您可以使用短代碼插入程式碼片段、HTML(包括表單、iframe 等)並控制格式。
您可以將 Blocks 插入頁面、文章、小工具或直接插入 PHP 內容中。
將可重複使用的物件插入您的內容中,既可以並排使用,也可以作為標準文章的替代方案,這是理想的。
它完全與 WPML 的內容翻譯和 WP Views 的內容篩選兼容。
可配置的功能:
「輸出模式」設置以控制是否呈現區塊內容添加段落和換行符 (wpautop)。
「排序」設置可控制查詢區塊列表時的排序順序。
「區塊小工具」可以讓您將區塊放在站點上的任何小工具區域中。
「多語言區塊小工具」擴展了正常的「區塊小工具」,在 WPML 多語言環境中工作(需要 WPML 插件和啟用區塊類型翻譯)。
「isw-block」短代碼可讓一個區塊嵌入您站點上的任何文章中。
外掛標籤
開發者團隊
原文外掛簡介
Blocks lets you create your own reusable blocks of content where you can use shortcodes to insert code snippets, HTML including forms, iframes, etc and control formatting.
You can insert Blocks into pages, posts, widgets or directly into php content.
It is ideal for inserting reusable objects into your content that you can use side by side or as an alternative to standard posts.
It is fully compatible with WPML for content translation and WP Views for content filtering.
Configurable Features:
The “Output Mode” setting to control whether block content is rendered adding paragraphs and line breaks (wpautop) or not.
The “Sort Order” setting to control sort ordering when quering for a list of blocks.
The “Block Widget” that allows you put a block in any widget area on your site.
The “Multilingual Block Widget” that extends the normal “Block Widget” to work in a multilingual context with WPML (requires WPML plugin and Block Type Translation enabled).
The “isw-block” shortcode enables a block to be embedded in any post on your site.
