內容簡介
切換以顯示/隱藏內容(允許自定義標題)。
使用基本格式 [toggle]content[/toggle] 以使用切換。
使用 title 參數設置標題:[toggle title=’點擊以顯示/隱藏內容’]content[/toggle]
使用 width 參數覆蓋設置寬度:[toggle width=’75%’]content[/toggle]
使用 expand 參數設置切換為默認展開:[toggle expand=1]content[/toggle]
使用 border 參數覆蓋 CSS 邊框:[toggle border=’none’]content[/toggle] 或者 [toggle border=’1px dashed #FF0000′]content[/toggle]
使用 title_color 參數覆蓋標題顏色設置:[toggle title_color=’#000′]content[/toggle]
使用 title_font 參數覆蓋標題字體:[toggle title_font=’Arial, Calibri’]content[/toggle]
使用 title_font_size 參數覆蓋標題字體大小:[toggle title_font_size=’14px’]content[/toggle]
使用 title_font_weight 參數覆蓋標題字體粗細:[toggle title_font_weight=600]content[/toggle]
使用 bgtitle 參數覆蓋標題背景顏色設置:[toggle bgtitle=’#007FFF’]content[/toggle]
使用 text_color 參數覆蓋內容顏色設置:[toggle bgtext=’#000′]content[/toggle]
使用 bgtext 參數覆蓋內容背景顏色設置:[toggle bgtext=’#000′]content[/toggle]
使用 text_font 參數覆蓋內容字體:[toggle text_font=’Arial, Calibri’]content[/toggle]
使用 text_font_size 參數覆蓋內容字體大小:[toggle text_font_size=’14px’]content[/toggle]
使用 text_font_weight 參數覆蓋內容字體粗細:[toggle text_font_weight=600]content[/toggle]
使用 disable_image=1 或 disable_image=0 參數覆蓋標題圖像設置
現在可以在切換的內容或標題中使用短碼(已測試過 Contact Form 7 和 azurecurve BBCode)。
選擇切換圖像在選項或網絡選項中; 允許網絡中的不同網站使用不同的圖像。通過將它們拖到插件 /images 文件夾中添加額外圖像。
此外掛支持語言翻譯。如果要翻譯此外掛,請將 .po 和 .mo 文件發送到 [email protected] 以包含在下一版本中(將給予完整榮譽)。 .pot 文件位於插件的 languages 文件夾中,也可以從 http://wordpress.azurecurve.co.uk 的插件頁面下載。
外掛標籤
開發者團隊
📦 歷史版本下載
原文外掛簡介
Toggle to show/hide content (allows custom title).
[toggle]content[/toggle] to use toggle in basic format.
Set a title by using the title parameter: [toggle title=’Click to show/hide spoiler’]content[/toggle]
Override settings width using width parameter: [toggle width=’75%’]content[/toggle]
Set toggle to default open using the expand parameter: [toggle expand=1]content[/toggle]
Override CSS border using the border parameter: [toggle border=’none’]content[/toggle] or [toggle border=’1px dashed #FF0000′]content[/toggle]
Override settings title colour using the title_color parameter: [toggle title_color=’#000′]content[/toggle]
Override settings title font family using the title_font parameter: [toggle title_font=’Arial, Calibri’]content[/toggle]
Override settings title font size using the title_font_size parameter: [toggle title_font_size=’14px’]content[/toggle]
Override settings title font weight using the title_font_weight parameter: [toggle title_font_weight=600]content[/toggle]
Override settings title background colour using the bgtitle parameter: [toggle bgtitle=’#007FFF’]content[/toggle]
Override settings text colour using the text_color parameter: [toggle bgtext=’#000′]content[/toggle]
Override settings text background colour using the bgtext parameter: [toggle bgtext=’#000′]content[/toggle]
Override settings text font family using the title_font parameter: [toggle text_font=’Arial, Calibri’]content[/toggle]
Override settings text font size using the title_font_size parameter: [toggle text_font_size=’14px’]content[/toggle]
Override settings text font weight using the title_font_weight parameter: [toggle text_font_weight=600]content[/toggle]
Override settings disable title images using disable_image=1 or disable_image=0
Shortcodes can now be used inside the content or title of the toggle (tested with Contact Form 7 and azurecurve BBCode).
Select toggle image in options or network options; allows different sites in a network to use different images. Add extra images by dropping them into the plugins /images folder
This plugin supports language translations. If you want to translate this plugin please sent the .po and .mo files to [email protected] for inclusion in the next version (full credit will be given). The .pot fie is in the languages folder of the plugin and can also be downloaded from the plugin page on http://wordpress.azurecurve.co.uk.
