FuseDesk Help Desk and Messaging Platform

Viewing Cases with the FuseDesk WordPress Plugin

Once you’ve installed FuseDesk’s free WordPress plugin, you can enable your logged in users/members to view their cases using the [fusedesk_mycases] shortcode on a page.

This will display a table of cases.

[fusedesk_mycases] works perfectly by itself, but also supports the following optional parameters:

For example, to use many of the above options, try:

[fusedesk_mycases columns="casenum, status, date_opened" status="active" limit="10" orderby="date_lastresponse desc, date_opened asc" dateformat="M d" errornocases="Hooray, you don't have any active requests!" casenum_name="Request #" date_opened_name="Start Date" /]

Filtering with Query Params

You can allow members to filter cases using a query param of casestatus. For example, link to your My Cases page with casestatus=new in the query string to filter just for new cases. The case status must be one of the allowed statuses from userstatuses above.

You can allow members to filter cases by dates, too. We’ll check for any of the following in the query string and expect a valid parsable PHP date, which includes relative dates like “-30 days”: date_opened_beforedate_opened_afterdate_closed_beforedate_closed_afterdate_updated_beforedate_updated_after.

For example, to search for cases opened in the last 30 days, put date_opened_after=-30 days in your query string.

Exit mobile version