azurecurve Toggle Show/Hide

外掛說明

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 wordpress.translations@azurecurve.co.uk 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.

安裝方式

To install the plugin copy the azurcurve-toggle-showhide folder into your plug-in directory and activate it.

Add extra images for the toggle by placing them in the /images folder.

常見問題集

Is this plugin compatible with both WordPress and ClassicPress?

  • Yes, this plugin will work with both.

使用者評論

2017 年 2 月 1 日
Just a bunch of title fields, no toggle. It says "click here to toggle" ... but it's just a text field where you put a default title. What?
2017 年 1 月 3 日
Have an older version or two on other sites - this does everything I need it to. Had added a lot of the codes suggested for options before I discovered that they are already in the built in options if I decide to make them global. Thank you!!
2016 年 9 月 3 日
But we want popup control/display from bottom to top, is it available?
2016 年 9 月 3 日
I couldn't be more pleased with how this worked and all I needed was once css addition to tweak the spacing.
2016 年 9 月 3 日
Thank you for this wonderful, effective and simple to use plugins. No muck around and done in seconds. Hats off to developer.
閱讀全部 10 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈azurecurve Toggle Show/Hide〉的開發相關工作。

參與者

將 azurecurve Toggle Show/Hide 外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

Changes and feature additions for the Toggle Show/Hide plugin:

2.1.2

  • Move menu to includes folder for easier maintenance

2.1.1

  • Fix undefined constant error in PHP 7.2

2.1.0

  • Allow title tag of toggle to be chnaged; will default to h3 (as per previous functionality)

2.0.0

  • Add azurecurve menu

1.6.2

  • Fix bug causing title_font_weight error

1.6.1

  • Fix bug causing undefined image indexes

1.6.0

  • Add Image Open and Close to settings to allow image to easily be changed

1.5.2

  • Fix bug with image index

1.5.1

  • Fix bug with multi-language

1.5.0

  • Added new option and override for: width.

1.4.2

  • Fix bug with default title not displaying from settings

1.4.1

  • Fix bug in toggle where background image was repeated

1.4.0

  • Added new options and overrides for: title font family/size/weight
  • Added new options and overrides for: text font family/size/weight
  • Added new options and overrides for: disable title images.

1.3.0

  • Added colour overrides for text (content) part of the toggle

1.2.0

  • Added background colour overrides for both the title and text parts of the toggle

1.1.0

  • Added options page to allow title, title color and border defaults to be set at either site or network level
  • Allowing Shortcodes within toggle shortcode no longer the default; can be enabled via the Settings page
  • Localisation available by translating the pot file

1.0.6

  • Add ability to use shortcodes within toggle tags for both title and content

1.0.5

  • Fix bug with expand_active variable

1.0.4

  • Add parameter to override border
  • Fix bug with expand parameter not working
  • CSS tidy up

1.0.3

  • Change height in style.css to em from px

1.0.2

  • Add expand parameter

1.0.1

  • WordPress 4 Compatible

1.0.0

  • First version