HAP Logo Square PNG

2026

Entries Now Open

My Team Members Shortcode — v1.0.2

Plugin name

My Team Members Shortcode

Purpose

Provide a read-only viewing experience for trusted Team users:

  • Team Dashboard: sortable table (Title, Artist Name, Medium, Artist Statement, Thumbnail, View).

  • Team Review: secure, full/large artwork preview + metadata.
    No scoring or editing—purely view-only.

Roles required

  • Team role: team (created on activation) with read_private_posts so they can see submitted (Private) entries.

  • Admins: always allowed.

  • You can manage Team accounts with Ultimate Member (UM) if you like; PMPro isn’t required for team access but may gate pages (see notes below).

If a team member can’t see items, confirm their role is team (or they otherwise have read_private_posts) and that entries are private (not draft).

Shortcodes

1) #team_dashboard]

What it does: Read-only table of artworks for team members. Client-side sorting by Artwork Title, Artist Name, Medium.

Attributes

  • category (required) — category slug, e.g. 25-artwork-submissions.

  • statuses — default private (allowed: draft,private,publish,pending,future).

  • per_page — default 20.

  • preview_url — default /team-review/ (page that contains

    You must be logged in to view this page.

    ).

  • thumb_sizethumbnail|medium|large|full; default medium.

  • show_headingtrue|false; default false (heading hidden by default).


Example

#team_dashboard category=“25-artwork-submissions”
statuses="private"
per_page="20"
preview_url="/team-review/"
thumb_size="medium"]


2) #team_review]

What it does: Read-only preview page for a single post; link comes from the dashboard and includes a secure nonce.

Attributes

  • allow_roles — CSV; default team,administrator,editor.

  • image_sizelarge|full; default large.

How it’s accessed

  • The View button builds a link like:
    /team-review/?post_id=###&ms_nonce=...

  • The shortcode verifies:

    • user is logged in and in an allowed role;

    • nonce is valid;

    • if the post is private, the user must have read_private_posts.



Plugin pre-requisites & field/label mapping

Pre-requisites / compatibility

  • Works with the same posts/artworks created via your existing FPS/PMPro flow.

  • PMPro gating: If PMPro restricts pages, whitelist /team-dashboard/ and /team-review/ so team users can access them. (This plugin doesn’t add its own PMPro bypass; just whitelist the pages in PMPro.)


Field & label mapping used by the plugin

  • Artwork Titlepost_title (raw title; no “Private:” prefix).

  • Artist Namepost meta: name.

  • Emailpost meta: email (shown on the review page).

  • Dimensionspost meta: dimensions (review page).

  • Mediumpost_excerpt (fallback: post meta: medium).

  • Artist Statementpost_content (fallback: post meta: artist_comments).

  • Image → featured image; if missing, the first attached image.

  • Security → per-post nonce (ms_nonce, action prefix team_view_{post_id}), role + capability checks.




Annual rollover: keeping Team pages working

New category each year

Create a new category/slug each year (e.g. 26-artwork-submissions) and only update the dashboard shortcode:

  1. Posts → Categories: add “2026 Artwork Submissions”, slug 26-artwork-submissions.

  2. Update the Team Dashboard page shortcode:

     
    #team_dashboard category="26-artwork-submissions" ...]
  3. No change needed for

    You must be logged in to view this page.

    —it opens whatever post is linked from the dashboard.

  4. If PMPro is in play, confirm /team-dashboard/ and /team-review/ remain whitelisted.