內容簡介
Tailored Tools 外掛提供了一系列輔助類別,用於建立自訂表單,並包含基本的聯絡表單及多種短碼,方便用戶在網站上嵌入內容。適合有 PHP 編碼能力的使用者。
【主要功能】
• 提供基本聯絡表單功能
• 支援 jQuery UI 標籤短碼
• 可重複使用頁面內容短碼
• 嵌入 Google 地圖短碼
• 簡化自訂表單的建立過程
開發者團隊
📦 歷史版本下載
原文外掛簡介
This plugin contains helper classes used to build custom forms. It’s built by Tailored Media for use on our sites, but anyone is welcome to use it.
NOTE: I would discourage installing this on new sites. With Gutenberg & form builder plugins, everything can be done better.
This plugin comes with a basic contact form. You can write additional plugins to extend & create more forms. If you are not comfortable writing PHP code, then this plugin is probably not right for you.
It also contains some other shortcode helpers for Google Maps, jQuery UI Tabs, and Page Content.
Shortcodes
This plugin also includes some shortcodes that we tend to use a lot.
[tabs]
This will apply formatting and javascript to implement jQuery UI Tabs. To use, simply wrap all of your tabbed content in [tabs] … [/tabs] shortcodes. Each H2 element will be a new tab. Some basic CSS is included, and you can write your own in your theme file to customise the look.
[pagecontent id=”1″]
Sometimes you need to include the same bit of content in many places on your site. To save time, this shortcode will let you include the content from one page in many places. Just use the shortcode, and provide the ID of the page you want to include. Eg, [pagecontent id=”3″] will insert all content from the page with ID = 3. Only the content is included by default; use [pagecontent id=”3″ include_title=”yes”] if you also want the page title, which is added as an H2 heading with the class ‘pagecontent_title’.
Note that a page is only included if the person viewing it would be allowed to read it. Published pages are included for everyone; drafts, private, scheduled and trashed pages are only included for logged-in users with permission to read them.
[googlemap address=”123 somewhere street, Kansas”]
To embed a Google Map iframe, use this shortcode. Google will geocode your address to determine where the pin goes. You can also specify width, height, and zoom. You can also provide ‘class’ to set a CSS class on the iframe element.
