Overview
SupportCandy provides several shortcodes that allow you to display different support features on your WordPress pages. Each shortcode serves a specific purpose, such as displaying the support portal, creating new tickets, opening existing tickets, or showing user and agent information.
Simply add the required shortcode to a WordPress page, post, or widget that supports shortcodes.
How It Works
When a page containing a SupportCandy shortcode is opened, WordPress processes the shortcode and displays the corresponding SupportCandy feature.
Each shortcode is designed for a specific purpose. Some are available to all users, while others are intended only for support agents.
Available Shortcodes
[supportcandy]
Displays the complete SupportCandy support portal.
Features include:
- Customer ticket list
- Create new ticket
- Customer profile
- Agent ticket list
- Agent profile
Recommended for: Main Support page
[wpsc_create_ticket]
Displays only the Create New Ticket form.
This shortcode is useful if you want to use SupportCandy as a contact form without giving users access to their ticket list.
Recommended for: Contact or New Ticket page
[wpsc_open_ticket]
Allows users to open an existing ticket using:
- Ticket ID
- Registered email address
- One-Time Password (OTP)
After successful verification, users can view and manage the selected ticket.
Recommended for: Open Ticket page
[wpsc_my_profile]
Displays the profile of the currently logged-in user.
This shortcode can be used by both customers and support agents.
Recommended for: My Profile page
[wpsc_unresolved_ticket_count]
Displays the number of unresolved tickets assigned to the currently logged-in support agent.
This shortcode is available only for support agents.
Recommended for: Agent dashboard or sidebar
[wpsc_agent_profile]
Displays the profile of the currently logged-in support agent.
This shortcode is available only for support agents.
Recommended for: Agent Profile page
[wpsc_sf]
Displays the Customer Satisfaction Survey page where customers can rate the support they received after their ticket is resolved.
Recommended for: Satisfaction Survey page
Example
Suppose you want to create a dedicated Contact Us page that only allows visitors to submit support requests.
- Create a new WordPress page.
- Add the following shortcode:
- Publish the page.
[wpsc_create_ticket]
Visitors can now submit support tickets without accessing the complete support portal.
Notes / Tips
- Each shortcode can be placed on a separate WordPress page.
- Use the
[supportcandy]shortcode if you want to display the complete support portal. - Some shortcodes are intended only for support agents and may not display content for customers.
- Publish the page after adding the shortcode to make it available on your website.