
內容簡介
此外掛可讓您在 Gutenberg 和經典編輯器中任何文章或頁面中以視覺方式新增/編輯優點和缺點,您也可以使用簡碼。
更新
v1.3.1 新增 sponsored rel 在轉介連結、新樣式和多個選項。
v1.3.0 修正錯誤,經典編輯器中的彈出按鈕在 WordPress 5.6 中不可見。
v1.2.6 修正錯誤,開啟偵錯模式時顯示的提示「rest_validate_value_from_schema was called incorrectly」。
v1.2.4 允許在 Gutenberg 中在單個彈出視窗中新增優點和缺點。
v1.2.2 目前版本中您可以使用彈出視窗,在經典編輯器中以與 Gutenberg 相似的方式新增/編輯優點和缺點,編輯經典編輯器需要選擇舊簡碼,該簡碼會自動在彈出視窗中完成格式化。
示範簡碼
[i2pc][i2pros]逐行撰寫優點[/i2pros][i2cons]逐行撰寫缺點[/i2cons][/i2pc]
可用的簡碼選項
className // 主 Div 的類別名稱
pros_icon // 圖示的類別名稱,例如:icon icon-check-2
cons_icon // 圖示的類別名稱,例如:icon icon-check-2
pros_title // 優點標題文字
cons_title // 缺點標題文字
show_title // 顯示主標題,true- false
title // 主標題文字
heading_pros_icon // 圖示的類別名稱,例如:icon icon-check-2
heading_cons_icon // 圖示的類別名稱,例如:icon icon-check-2
use_heading_icon // true- false
show_button // true- false
button_icon // 圖示的類別名稱,例如:icon icon-check-2
button_display_block // true- false '如果您想要以全尺寸顯示按鈕'
link_text // 按鈕文字
link // 按鈕連結
您也可以從設定頁面全球性顯示/隱藏標題和按鈕並管理其設計。
以下是功能清單:
完整自訂化設定頁面
10個樣板
相容於個人電腦、平板電腦、手機
用戶友好的介面
亞馬遜合作夥伴按鈕
不涉及任何編碼
單擊新增優點和缺點
使用方法
如何自訂設定/選項頁面
如何在 Gutenberg 中使用
如何在經典編輯器中使用
外掛標籤
開發者團隊
原文外掛簡介
This plugin allow you to add/edit Pros & Cons visually in Gutenberg and classic editor in any post or page. you can also use shortcode.
Update
v1.3.1 added rel sponsored in referral link, a new style and many options .
v1.3.0 bug fix, popup button not visible in WordPress 5.6 in classic editor.
v1.2.6 bug fix, showing notice “rest_validate_value_from_schema was called incorrectly” in debug mode.
v1.2.4 allow to add pros and cons in single popup for gutenberg.
v1.2.2 With current version you can use popup to add/edit Pros & Cons in classic editor in similar way as Gutenberg, for editing in classic editor you need to select old shortcode, which automaticlly formated in popup.
Sample Shortcode
[i2pc][i2pros]Line by line Pros here[/i2pros][i2cons]Line by line Cons here [/i2cons][/i2pc]
Available options for shortcode
className // main div class name
pros_icon // icon class name sample : icon icon-check-2
cons_icon // icon class name sample : icon icon-check-2
pros_title // pros heading text
cons_title // cons heading text
show_title // show main title true – false
title // main title text
heading_pros_icon // icon class name sample : icon icon-check-2
heading_cons_icon // icon class name sample : icon icon-check-2
use_heading_icon // true – false
show_button // true – false
button_icon // icon class name sample : icon icon-check-2
button_display_block // true – false ‘if you want to show button in full size’
link_text // button text
link // button link
You can also show/hide title & button and manage its design from settings page globally.
Here’s the list of feature:
Full Customiztion using Setting page
10 Templates
Compatible with PC, Tablets, Phones
User Friendly Interface
Amazon Affiliated Button
Involves No coding AT ALL
One click Pros and Cons addition
How to Use
How to customize Settings / Options page
How to use in Gutenberg
How to use in Classic Editor
