Govintra 5.2.3

Updates to the Govintra theme since v5.1.77:

Bug fixes

  • Fix fatal error on the admin dashboard. This bug triggers immediately after a major WordPress core upgrade. Govintra versions previous to 5.2.3 contain the bug. You should update Govintra to the latest version before updating to WordPress version 7. If you already have the fatal error, you should download the latest theme and upload the theme files manually. If you have access to the WP-CLI, you can update the theme using wp theme update govintra
  • Training landing page (`template-training.php`): render featured course on the frontend — the ACF “Featured course” field group was registered but the template never read it, so admin selections had no effect. Featured course shows above search/browse/A-Z on first visit and hides once a filter is active.

Updates

  • Add “Enable Block Editor” Customiser toggle (Text and features) — off by default so all post types keep using the Classic Editor; when enabled, CPTs whose `supports` includes `editor` are exposed via REST, unblocking WordPress 7.0 native AI features (Connectors API, AI Client, Abilities API). CPTs that already declare `show_in_rest` are respected
  • New `.govintra-card–featured` SCSS modifier: horizontal layout (image left, content right) with a “Featured” badge top-right; collapses to single column under 640px
  • ACF PRO 6.8.1
  • Category colours reduced to just background colour; text colour is calculated automatically to contrast with the background colour.