Displaying Meetings

GovernDocs allows meetings to be displayed on the front end of your WordPress site using a shortcode placed on a page or post.

Field defaults

In the settings of GovernDocs, you can set the default fields to be shown for all meetings. These defaults can be overridden on individual items with shortcode attributes.

Displaying a list of all meetings

You can show all meetings for a certain time period using the below shortcode. The shortcode below will display all meetings for March 2026. You can leave off the month attribute to show all meetings for 2026.

[governdocs_all
type="meetings"
show_toolbar="1"
year="2026"
month="3"
]

Displaying a single meeting

The meeting shortcode displays the meeting title, meeting date, and separate Agenda and Minutes sections when those files are available.

[governdocs_meeting
id="123"
show_icon="1"
button="1"
class="custom-meeting-card"
fields="meeting_date,type,date,ext,size"
]

Available attributes

  • id – Displays a specific report by post ID. Example: id="123"
  • show_icon – Controls whether the document icon is shown. Use 1 to show it or 0 to hide it. Example: show_icon="1"
  • button – Controls whether the download button is shown. Use 1 to show it or 0 to hide it. Example: button="1"
  • class – Adds a custom CSS class to the output. Example: class="custom-meeting-card"
  • fields – Defines which report fields are displayed and in which order. Example: fields="date,type,ext,size,meeting_date,chair,taker,location,notes,ordinances,resolutions"
  • title – Lets you show, hide, or override the title. Examples: title="Annual Financial Report", title="1", or title="0"

PRO only attributes

The below attributes are available in the PRO version.

  • allowed_roles – Restricts output so only specific user roles can view the report. Example: allowed_roles="subscriber,customer"
  • blocked_roles – Blocks specific user roles from viewing the report. Example: blocked_roles="guest"
  • blocked_button_text – Sets the fallback button text when access is blocked. Example: blocked_button_text="Log In to Access"
  • blocked_button_url – Sets the fallback button URL when access is blocked. Example: blocked_button_url="https://example.com/my-account"
  • blocked_button_new_tab – Opens the fallback button link in a new tab. Accepted values include 1, true, yes, and on. Example: blocked_button_new_tab="1"
  • blocked_button_class – Adds custom classes to the fallback button. Example: blocked_button_class="button button-primary"
  • blocked_description – Sets custom text shown when access is blocked. Example: blocked_description="This meeting is available to signed-in users only."

Available meeting field keys

The fields that are available for the fields attribute.

  • meeting_date – The meeting date shown at the meeting level.
  • type – Shows Agenda or Minutes inside each section.
  • date – Shows the agenda publish date or minutes approval date.
  • ext – File extension for the agenda/minutes file.
  • size – File size for the agenda/minutes file.
  • chair – Meeting chair name.
  • taker – Minute taker name.
  • location – Meeting location.
  • notes – Section notes (agenda notes or minutes notes).
  • ordinances – Related ordinances linked to the meeting.
  • resolutions – Related resolutions linked to the meeting.