HelpWidget

外掛說明

Getting Started
Create Your First Article
Navigate to the HelpWidget Admin Page.

Click on “Add New Post”.

Choose whether you want a WordPress Gutenberg post or an Elementor post.

Be creative! Add images, buttons, videos, and other elements as needed.
The title of your post will appear in the HelpWidget and will act as a button to reveal the article’s content.
Click Publish, and the article will be displayed on every page of your site.

Advanced Features
Path Tags
To maximize the plugin’s potential, you can assign a path tag to an article to control which pages it appears on.

Navigate to the page where you want the article to display.

Look at the URL and copy the part after the first slash.

Example:
URL: example.com/shop
Path: /shop
Return to the HelpWidget Admin Page and edit your article.

On the right-hand side, find the Tags section and add the following:

path:/shop
Displaying on Multiple Pages
To display an article on multiple pages, use the following format:

Examples:

URL: example.com/index Tag: path:/index
URL: example.com/shop Tag: path:/shop
Add separate tags for each page as needed.

Query Tags
Query tags work similarly to path tags but target the part of the URL after the “?” character.

Example:

URL: example.com/shop?loggedIn=true
Tag: query:loggedIn=true
This ensures the article is only displayed if the URL contains loggedIn=true.

Rules for Query Tags:

If you define multiple query tags, only one needs to match.
If you include multiple conditions in a single query tag (connected by &), all conditions must be met.
The order of conditions does not matter.
Examples:

Single Query Match:

Tag 1: query:loggedIn=true
Tag 2: query:user=admin
URLs like example.com/shop?loggedIn=true or example.com/shop?user=admin will match.
Multiple Conditions:

Tag: query:loggedIn=true&user=admin
Only URLs like example.com/shop?loggedIn=true&user=admin will match.
Note: URLs such as example.com/shop?loggedIn=true or example.com/shop?user=admin will not match, as they do not meet both conditions.

Need Help?
If you have any questions, suggestions, or encounter bugs, feel free to reach out!
Email: et4aa.studios@gmail.com

Planned Features
More Tag Types: Add support for session-based or cookie-based tags.
Enhanced Customization: Include options for button design, such as text, shape, and icons.

螢幕擷圖

  • Helpwidget (Closed)
  • Helpwidget (Opened)
  • Helpwidget example article (Opened)
  • Edit arcticles
  • Add tags to apply filter for customers

常見問題集

What types of Elements can I add to an article?

You can add any Gutenberg or Elementor Element.
That could be Text, Pictures, Videos, Buttons, …

How can I create an article?

Just open the admin panel and go to Helpwidget.
Then press “add new post”. Now you can create your first article.
When you are done press publish and the article is visible on every site.

How can I add filters to an article?

There are 2 types of filters path and query.
A path filter is the part after the / in the url.

For example google.com/test. Then “test” would be the path.

A query filter is the part after the ? in the url.
For example google.com/test?user=admin
Then “user=admin” would be the query.

You can add multiple path options to an article on which urls the article will be enabled.
Or you can add multiple query options that need to be in the url.

使用者評論

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

參與者及開發者

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

參與者

將〈HelpWidget〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

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