WP Manifestindependent plugin directory
manifest / content / my-parks-wordpress-plugin

My Parks

wordpress plugin to support park management and frontend blocks to display park information

by AJB · github.com/ashleybill/my-parks-wordpress-plugin

0stars
0forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/ashleybill/my-parks-wordpress-plugin/archive/refs/heads/main.zip

A WordPress plugin for managing park listings with custom blocks, taxonomies, and filtering capabilities.

Description

My Parks provides a complete solution for managing and displaying park information on your WordPress site. It includes:

  • Custom Post Type: Park post type with featured images and excerpts

  • Taxonomies: Activities, Facilities, and Locations for organizing parks

  • Custom Blocks: 11 specialized Gutenberg blocks for displaying park information

  • Filtering: Search and taxonomy-based filtering for park listings

  • ACF Integration: Works with Secure Custom Fields for additional park metadata

  • Park Maps - Display downloadable park maps (campground, trail, cabin, etc.)

Included Blocks:

  • About (Short) - Display short park description with WYSIWYG editor
  • About (Continued) - Display continued park description with WYSIWYG editor
  • Park Flip Card - Display parks as interactive flip cards
  • Park Search Filter - Search parks by keyword
  • Park Taxonomy Filter - Filter parks by activities, facilities, and locations
  • Gallery Slider - Image gallery with slider functionality
  • Operational Dates - Display park operating hours and seasons
  • Visitor Services - Show available visitor services
  • Rates - Display park fees and pricing
  • Advisories - Show important park alerts and notices
  • Park Maps - Upload and display downloadable park maps with labels (PDF or image)

Installation

  1. Upload the plugin files to /wp-content/plugins/my-parks, or install through the WordPress plugins screen
  2. Activate the plugin through the 'Plugins' screen in WordPress
  3. Install and activate Secure Custom Fields (SCF) plugin (required dependency)
  4. Navigate to Parks in the admin menu to start adding parks

Frequently Asked Questions

What are the requirements?

WordPress 6.8 or higher, PHP 7.4 or higher, and the Secure Custom Fields (SCF) plugin.

How do I add a new park?

Go to Parks > Add New in your WordPress admin. Add a title, featured image, excerpt, and use the custom blocks to add detailed information.

Can I customize the park fields?

Yes, the plugin uses Secure Custom Fields (SCF) for additional metadata. You can customize field groups in the plugin's includes/field-groups.php file.

How do I display parks on my site?

Create a page and use the Park Flip Card block to display parks. Add the Park Search Filter and Park Taxonomy Filter blocks to enable filtering.

Changelog

0.12.0

  • Added Park Maps block for displaying downloadable park maps (campground, trail, cabin, etc.)
  • Added "Maps" tab to Park Configuration with a repeater field for label + file upload pairs
  • Park flip cards now append a #section hash to park page links when a ?section= query param is present, enabling deep-linking to any anchored section (e.g. ?section=park-maps from a QR code)

0.11.3

  • Updated advisories and operational dates to use WYSIWYG for description and details.
  • Fixed position of +/- for operational dates

0.11.2

  • Allow YoastSEO to analyze content in about,about continued sections

0.11.1

  • removed taxonomies from being publically visible

0.11.0

  • Enhanced Visitor Services block with configurable default text for empty fields
  • Converted Visitor Services field from textarea to WYSIWYG editor with automatic content migration
  • Added configurable default text to Rates block for when no rates are available
  • Reorganized Park Configuration fields into collapsible tabs: Content, Advisories, and Dates & Rates
  • Improved admin interface organization and user experience

0.10.0

  • Added About (Short) and About (Continued) WYSIWYG fields to Park Configuration
  • Added About (Short) and About (Continued) blocks for displaying park descriptions
  • Removed editor support from park post type to maintain ACF compatibility
  • Added automatic migration of existing post_content to about_short field
  • Blocks support color (text, background, links, headings) and typography styling
  • Enhanced block styling with proper inheritance for child elements

0.9.1

  • Added pattern for optional button for cabin booking, based on if the park has cabin type or not.
  • Optional configuration for the url for cabins booking.

0.9.0

  • Added Contact Tabs block for organizing contact information in tabbed interface
  • Tabs support customizable titles and unlimited tab additions/removals
  • Responsive design with mobile-friendly stacked layout
  • Smooth animations and visual feedback for tab switching
  • InnerBlocks support allows any WordPress blocks inside tabs

0.8.0

  • Improved Taxonomy Icons block with responsive auto-fit grid layout
  • Replaced fixed "max per row" setting with flexible "icon size" control
  • Icons now automatically wrap based on container width and icon size
  • Enhanced editor preview to match frontend responsive behavior
  • Better mobile and column layout compatibility

0.7.0

  • Added lightbox functionality to Gallery Slider - click/tap images to view fullscreen
  • Added navigation controls in lightbox mode (arrows, dots, keyboard shortcuts)
  • Added touch/swipe support for mobile lightbox navigation
  • Added orientation change handling for responsive lightbox behavior
  • Enhanced image hover effects and visual feedback
  • Improved mobile viewing experience with dedicated fullscreen mode

0.6.1

  • Fixed Gallery Slider block not displaying on park pages when using ACF field fallback

0.6.0

  • Added optional park selector to Advisories block for use outside park context
  • Advisories block now defaults to current page context when no park is selected
  • Enhanced block reusability across all post types and pages

0.5.0

  • Added media library gallery picker to Gallery Slider block for use on any page/post
  • Gallery Slider now supports both manual image selection and ACF field fallback
  • Enhanced Gallery Slider block reusability across all post types

0.4.2

  • Improved mobile display for Operational Dates block - dates now stack under facility name
  • Improved mobile display for Rates block - rate amounts now stack under rate types
  • Enhanced responsive layout for better readability on all screen sizes

0.4.1

  • Fixed camping-booking block pattern visibility in pattern inserter

0.4.0

  • Added park_type taxonomy for categorizing parks as 'day-use' and/or 'camping'
  • Added my_parks_has_camping() helper function for conditional template logic
  • Added camping-booking block pattern with automatic conditional rendering
  • Fixed park_map shortcode alignment - text and icon now vertically centered
  • Added comprehensive test coverage for new taxonomy and helper function

0.3.4

  • Added optional text attribute to [park_map] shortcode for custom link text
  • Refactored shortcodes into separate includes/shortcodes.php file for better organization
  • Added test coverage for park_map shortcode text attribute
  • Improved code organization and maintainability

0.3.3

  • Fixed 404 error for missing assets/style.css file
  • Added automatic asset copying to build directory during build process
  • Fixed taxonomy filter UI not resetting when search clears filters
  • Updated [park_map] shortcode to use clean SVG map pin icon instead of emoji and text
  • Updated accordion blocks (Operational Dates, Rates, Advisories) to use +/- icons instead of rotating arrows
  • Improved build process to ensure all assets are included in plugin zip

0.3.2

  • Fixed search clear functionality to properly reset card display and prevent jumping
  • Added automatic filter clearing when typing in search box for better UX
  • Improved interaction between search and taxonomy filter systems

0.3.1

  • Fixed park search filter form submission causing 404 errors on mobile
  • Prevented search form from submitting when Enter key is pressed
  • Search now only filters park cards without page navigation

0.3.0

  • Added [park_embed_map] shortcode for embedded Google Maps with customizable width, height, and zoom
  • Updated [park_map] shortcode to use Google Maps URLs for better compatibility
  • Added field group menu_order to ensure Park Configuration appears first in admin
  • Enhanced test coverage for both map shortcodes
  • Fixed test syntax errors and improved test reliability

0.2.0

  • Fixed taxonomy icons block to properly display images from media library
  • Added park location coordinates field group (latitude/longitude)
  • Added [park_map] shortcode for mobile-friendly map links
  • Updated plugin-zip script to auto-build before packaging
  • Added comprehensive test coverage for new features

0.1.0

  • Initial release
  • Custom park post type
  • Activity, Facility, and Location taxonomies
  • 9 custom Gutenberg blocks
  • Search and taxonomy filtering
  • SCF integration for custom fields