Govintra 5.3.43

Theme updates

  • Staff directory: “Directory name order” now works – sets whether the directory, team pages and staff listings open sorted by first or last name (users can still switch on the page).
  • Staff directory: “Show grade on staff cards” now works – grade appears under the job title on cards in the directory, team pages and staff listings.
  • Staff profiles: browser tab now shows the person’s name, and “Edit profile” with their name on the edit screen, instead of just the site name.
  • Options > General: removed the “Require login to comment” switch, which did nothing (controlled by Settings > Discussion).
  • Options > Search: removed “Start with filter panel closed” and “Enable forums filter”, neither of which did anything.
  • Locations (building_location) can now be nested, e.g. a site with buildings beneath it. New helpers: govintra_location_trail(), govintra_location_label(), govintra_collapse_locations() and govintra_user_location_ids_with_ancestors().
  • Staff profiles show the full location trail (“Bristol, Head Office”) and collapse a parent stored alongside one of its children.
  • Staff search matching a site also returns people based in one of its buildings.
  • Staff by tag shortcode: grouping by location follows the hierarchy, with an h2 per site and an h3 per child location.
  • Theme and plugin update screens now report a “Tested up to” version instead of unknown compatibility, falling back to the installed copy’s header and padding a matching short version to the running WordPress version.
  • Projects page: projects with no end date now appear in the open projects list instead of being hidden until “Show all projects”.
  • Projects page: status now decides open vs past — Active/Paused stay listed after the end date, Completed/Cancelled move to past immediately, and projects with no status still fall back to the end date. Rule centralised in govintra_open_projects_meta_query(), with filters for the status lists.
  • Projects: added editor instructions to the Status and End date fields explaining their effect on the Projects page.
  • Training courses: “Related content” picks now render in the course sidebar.
  • Training courses: renamed the “How to book” field to “How to register your interest” to match the heading on the course page.
  • Training courses: removed the Associated teams field, which nothing read.

Fixes

  • Staff by tag shortcode: the cols setting is now honoured; the grid always rendered two columns.
  • Staff by tag shortcode: when grouped, people with no location are sorted last under a “No location” heading rather than appearing above the first heading.
  • Intraverts and ultraverts: location targeting works for users with more than one location, and content aimed at a site reaches people in its child locations. Previously any user with a location set never matched.
  • Removed the “Building” grouping option, which grouped by the free-text floor / room field; existing shortcodes using it fall back to grouping by location.

Add a comment