# DACdb Plus

## Your public image chair's favorite WordPress plugin

DACdb Plus is a robust WordPress plugin, giving clubs and districts the ability to display lots of DACdb content on their WordPress website.

### Installation

1. Extract the latest release archive to your local folder, then upload it to your WordPress plugins dashboard.
2. From your installed plugins list, find DACdb Plus and click “Activate.”
3. Once activated, click “Settings” and enter your Account/District number and Club/Chapter/Region number.

    > **Tip:** Your district and club id numbers can be easily found by logging in to [DACdb](https://dacdb.com/) and clicking the "My Data" tab!

4. Select your subscription type from the “System” dropdown list.
5. You may now browse and adjust display settings, or scroll to the bottom and click “Save Changes.”

### How To Display Your Organization's Data

To display data from DACdb on your website, you must add small blocks of text called “short codes” to fields in the WordPress editor. To begin, we'll create a test page to experiment with short codes.

1. From the WordPress Dashboard, click “Pages” from the left-hand columns.
2. Click the “Add New” button at the top of the page next to “Pages.”
3. Click on “Add Title” and type, ```Club Information``` then press enter.
4. Press the ```/``` key on your keyboard, then click “[/] Shortcode” from the dropdown list.
5. Click inside the field that says, "Write shortcode here…” and type (or copy and paste) this whole block:

    ```html
    [[dacdb_plus show="meeting_info"]]
    ```

6. Click the “UPDATE” button in the top right-hand corner.
7. In the bottom-left corner, you'll see a confirmation that says, “Page updated.” Click the “View Page” link next to that to view your page.

### Supported Shortcodes

|Name|Show Code|Shortcode|Notes|
|---|---|---|---|
|[Areas](https://plus.dacdb.com/docs/shortcode/areas)|[areas](https://plus.dacdb.com/docs/shortcode/areas)|```[[dacdb_plus show="areas"]]```|Districts only.|
|[Birthdays](https://plus.dacdb.com/docs/shortcode/birthdays)|[birthdays](https://plus.dacdb.com/docs/shortcode/birthdays)|```[[dacdb_plus show="birthdays"]]```||
|[Calendar](https://plus.dacdb.com/docs/shortcode/calendar)|[calendar](https://plus.dacdb.com/docs/shortcode/calendar)|```[[dacdb_plus show="calendar"]]```||
|[Club Leaders](https://plus.dacdb.com/docs/shortcode/clubleaders)|[clubleaders](https://plus.dacdb.com/docs/shortcode/clubleaders)|```[[dacdb_plus show="clubleaders"]]```|Clubs only.|
|[Club Leaders (json output)](https://plus.dacdb.com/docs/shortcode/JSONclubleaders)|[JSONclubleaders](https://plus.dacdb.com/docs/shortcode/JSONclubleaders)|```[[dacdb_plus show="JSONclubleaders"]]```||
|[Club Meetings](https://plus.dacdb.com/docs/shortcode/club_meetings)|[club_meetings](https://plus.dacdb.com/docs/shortcode/club_meetings)|```[[dacdb_plus show="club_meetings"]]```|Clubs only.|
|[Club Presidents](https://plus.dacdb.com/docs/shortcode/club_presidents)|[club_presidents](https://plus.dacdb.com/docs/shortcode/club_presidents)|```[[dacdb_plus show="club_presidents"]]```|Districts only.|
|[Council of Governors](https://plus.dacdb.com/docs/shortcode/cog)|[cog](https://plus.dacdb.com/docs/shortcode/cog)|```[[dacdb_plus show="cog"]]```|Districts only.|
|[Committee](https://plus.dacdb.com/docs/shortcode/committee)|[committee](https://plus.dacdb.com/docs/shortcode/committee)|```[[dacdb_plus show="committee"]]```||
|[Committee Leaders](https://plus.dacdb.com/docs/shortcode/committee_leaders)|[committee_leaders](https://plus.dacdb.com/docs/shortcode/committee_leaders)|```[[dacdb_plus show="committee_leaders"]]```||
|[Committees](https://plus.dacdb.com/docs/shortcode/committees)|[committees](https://plus.dacdb.com/docs/shortcode/committees)|```[[dacdb_plus show="committees"]]```||
|[District Committee Chairs](https://plus.dacdb.com/docs/shortcode/dcc)|[dcc](https://plus.dacdb.com/docs/shortcode/dcc)|```[[dacdb_plus show="dcc"]]```|Districts only.|
|[District Leaders](https://plus.dacdb.com/docs/shortcode/d_leaders)|[d_leaders](https://plus.dacdb.com/docs/shortcode/d_leaders)|```[[dacdb_plus show="d_leaders"]]```|Districts only.|
|[Documents](https://plus.dacdb.com/docs/shortcode/documents)|[documents](https://plus.dacdb.com/docs/shortcode/documents)|```[[dacdb_plus show="documents"]]```||
|[Events](https://plus.dacdb.com/docs/shortcode/events)|[events](https://plus.dacdb.com/docs/shortcode/events)|```[[dacdb_plus show="events"]]```||
|[Leaders](https://plus.dacdb.com/docs/shortcode/leaders)|[leaders](https://plus.dacdb.com/docs/shortcode/leaders)|```[[dacdb_plus show="leaders"]]```|Clubs only.|
|[Map](https://plus.dacdb.com/docs/shortcode/map)|[map](https://plus.dacdb.com/docs/shortcode/map)|```[[dacdb_plus show="map"]]```|Districts only. You will need to enter a [Google Maps API Key](https://developers.google.com/maps/documentation/javascript/get-api-key) on the settings dashboard in order to render a map.|
|[Meeting Info](https://plus.dacdb.com/docs/shortcode/meeting_info)|[meeting_info](https://plus.dacdb.com/docs/shortcode/meeting_info)|```[[dacdb_plus show="meeting_info"]]```||
|[Members](https://plus.dacdb.com/docs/shortcode/members)|[members](https://plus.dacdb.com/docs/shortcode/members)|```[[dacdb_plus show="members"]]```|Clubs only.|
|[Newsletter](https://plus.dacdb.com/docs/shortcode/newsletter)|[newsletter](https://plus.dacdb.com/docs/shortcode/newsletter)|```[[dacdb_plus show="newsletter"]]```||
|[Speakers](https://plus.dacdb.com/docs/shortcode/speakers)|[speakers](https://plus.dacdb.com/docs/shortcode/speakers)|```[[dacdb_plus show="speakers"]]```||
|[Sponsors](https://plus.dacdb.com/docs/shortcode/sponsors)|[sponsors](https://plus.dacdb.com/docs/shortcode/sponsors)|```[[dacdb_plus show="sponsors"]]```||
|[Stories](https://plus.dacdb.com/docs/shortcode/stories)|[stories](https://plus.dacdb.com/docs/shortcode/stories)|```[[dacdb_plus show="stories"]]```||
|[Where Clubs Meet](https://plus.dacdb.com/docs/shortcode/wcm)|[wcm](https://plus.dacdb.com/docs/shortcode/wcm)|```[[dacdb_plus show="wcm"]]```|Districts only.|
