Use the DojoExpert plugin to add member lists, profiles, and competition results to your WordPress website. Follow these steps:
1) Download the DojoExpert plugin and install it on your WordPress website: Download.
If your site uses WordPress earlier than version 4.5, see the instructions below for installing the older plugin version.
2) Go to “settings” and click “DojoExpert” to open the plugin settings shown in this screenshot:
Here you must set 3 parameters:
- Member page URL – the URL of the WordPress page containing your member list. This enables links from member names to their profiles. In our example, the page is http://dojoexpert.linklab.hr/members/ , so enter /members/? with a question mark at the end.
- User – this is your DojoExpert username
- Language ID – leave this at the default value of 1.
3) To add a member list page, create a page or post with the permalink URL you specified in step #2.
Click add a block, select "widgets", and find the "members" and "results" buttons:
In the block editor, find the parameters on the right. Set “Dojo ID” to show members from a specific dojo, or leave it blank for all members or a single-dojo account. Set “Member ID” to a member’s UID to display only that member, or leave it blank for everyone. In this example, leave both blank and click “Update” to display the list.
Save the page and see how it looks:
The member list appears on the page. If “member page URL” was set correctly, names link to member profiles. Live example: http://test.dojoexpert.com/members/
Important: the member list lists only members who have the “show” option set to true in DojoExpert. Find this “show” checkbox under the member picture in your DojoExpert manager. This way you can decide who you want to show publicly on the list and who will remain hidden.
4) Add a “result list” widget block to create a results page. In widget settings, choose a year, leave it blank for the current year, or enter “0” for all years. Example:
Older version
The plugin for older WordPress versions looks slightly different. Download the older plugin version here. Versions before 4.5 do not have blocks in the page editor. The plugin adds two editor buttons for inserting member and result lists:
Click “M” to add a member list. A pop-up asks for “Dojo ID” and “Member ID”.
You will see this code in HTML code of the page: [memberlist dojoid="" id="" /]. You can also enter the parameters manually in this code.
See the live example website here.