开发者 | puntr |
---|---|
更新时间 | 2025年7月29日 02:06 |
PHP版本: | 7.4 及以上 |
WordPress版本: | 6.8 |
版权: | GPLv2 or later |
版权网址: | 版权信息 |
[puntr_daily_roster]
Advanced Options:
[puntr_daily_roster date="2025-07-20" show_photo="true" photo_size="60" columns="photo,name,age,location,start,end"]
Full Calendar:
[puntr_roster_calendar height="700"]
Available Shortcode Parameters
date
- Specific date to display (YYYY-MM-DD format)show_photo
- Display provider photos (true/false)photo_size
- Size of photos in pixels (default: 50)show_age
- Include age column (true/false)show_height
- Include height column (true/false)show_dress_size
- Include dress size column (true/false)show_bust
- Include bust size column (true/false)show_location
- Include location column (true/false)show_services
- Include services column (true/false)show_rates
- Include rates column (true/false)columns
- Comma-separated list of columns to displayplugins/puntr/templates/
to yourtheme/puntr/
:
archive-provider.php
- Provider archive/listing pagesingle-provider.php
- Single provider pagecontent-provider.php
- Provider item in listspuntr_before_save_provider
puntr_after_save_provider
puntr_provider_meta_fields
puntr_provider_meta_boxes
puntr_provider_display_data
puntr_provider_archive_info
Roster Hooks:
puntr_before_create_roster_event
puntr_after_create_roster_event
puntr_roster_event_data
puntr_roster_table_columns
Calendar Hooks:
puntr_calendar_event_colors
puntr_calendar_event_text
puntr_calendar_default_view
puntr_calendar_time_slots
Template Hooks:
puntr_skip_archive_provider_details
puntr_archive_provider_data
puntr_gallery_images
puntr_gallery_position
/wp-json/puntr/v1/
Available Endpoints:
/wp-json/puntr/v1/providers
- Get list of providersper_page
, page
, service
, active_only
/wp-json/puntr/v1/providers/{id}
- Get single provider details/wp-json/puntr/v1/roster
- Get roster events by date rangestart_date
, end_date
(YYYY-MM-DD format)provider_id
/wp-json/puntr/v1/daily-roster
- Get daily rosterdate
(YYYY-MM-DD format, defaults to today)puntr
folder to the /wp-content/plugins/
directoryCreate a folder named puntr
in your theme directory and copy any template from plugins/puntr/templates/
to customize.
Yes! Puntr inherits your theme's styles and provides minimal styling to ensure compatibility.
Yes, the DayPilot calendar adapts to different screen sizes for optimal viewing on all devices.
Use the columns
parameter in the shortcode:
[puntr_daily_roster columns="photo,name,start,end"]
Yes, providers can be organized using service taxonomies and filtered accordingly.
Yes, Puntr includes a full REST API with endpoints for providers and roster data.
Use the puntr_provider_meta_fields
filter to add custom fields.