這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

PJ jQuery UI Helper

外掛說明

This plugin allows you to use jQuery UI’s widgets with a simple to advanced shortcode in your pages or posts.

Here is a list of the current widgets and their corresponding shortcodes:

  • Dialog – Used with [pjjuh-dialog]contents[/pjjuh-tab] to create a button where the shortcode is inserted that will open a dialog with the contents of the tag (or you can set an attribute of page to a title of one of the pages on your site to load the contents of that page into the dialog that is opened from pressing the button). For more information on how to use this please visit my site.
  • Tabs – Used with [pjjuh-tab-group] and then [pjjuh-tab title=”tab-title”]contents[/pjjuh-tab] to create a tab with the title “tab-title” that contains the contents specified. For more information on how to use this please visit my site.
  • Accordion – Used with [pjjuh-accordion] and then [pjjuh-acc-section title=”section-title”]contents[/pjjuh-acc-section] to create a section with the title “section-title” that contains the contents specified. For more information on how to use this please visit my site.

Widgets I hope to add in the near future are:

  • Tooltips

I also hope to allow more variations for the widgets in the near future.

螢幕擷圖

  • An example of a dialog using the shortcode [pjjuh-dialog].
  • An example of tabs using the shortcode [pjjuh-tab-group] and [pjjuh-tab].
  • An example of an accordion using the shortcode [pjjuh-accordion] and [pjjuh-acc-section].
  • blue theme
  • base theme
  • flick theme
  • trontastic theme

安裝方式

  1. Upload files to the /wp-content/plugins/ directory, in their own directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Add shortcodes to your pages/posts as you like

常見問題集

How can I create a dialog?

Find where you would like to place the button, in that location (In Page/Post edit) insert [pjjuh-dialog]{contents}[/pjjuh-dialog] where {contents} is the contents you would like to have inside of your dialog.

How can I create tabs?

Find where you would like to place your tabs section, in that location (In Page/Post edit) insert [pjjuh-tab-group][pjjuh-tab title=’{tab-title}’]{contents}[/pjjuh-tab][/pjjuh-tab-group] where {contents} is the contents you would like inside of that tab and {tab-title} is the text that will show in the tab’s button. Take a look at screenshots for an example.

Are there more attributes I can use in the shortcodes?

Yes! There is a list of accepted attributes here: Plugin Website.

Are there themes that I can choose from?

Yes! There are currently 3 supported themes, check out the screenshots page to see how they look. The themes can be selected in the Plugin Options menu (PJ jQuery UI Helper, on the side of your admin page).

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈PJ jQuery UI Helper〉的開發相關工作。

參與者

將〈PJ jQuery UI Helper〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

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

變更記錄

1.0.8

  • Updated themes to 1.11.4

1.0.7

  • Implemented heightStyle option for Accordions as height_style parameter in [pjjuh-accordion] shortcode. Defaults to “auto” if not used.

1.0.6

  • Applied font sizing to Tabs section

1.0.5

  • Included accordion functionality

1.0.4

  • Added ‘trontastic’ theme for darker websites

1.0.3

  • Used WordPress jQuery UI scripts
  • Updated to allow for multiple dialogs on a page/post

1.0.2

  • Added settings for user to set default width and height for dialogs.

1.0.1

  • Included tabs functionality.
  • Allow for user to choose themes, more themes to be added.

1.0.0

  • Created plugin with dialog functionality.