Changeset 3371367
- Timestamp:
- 10/01/2025 06:14:37 PM (5 months ago)
- Location:
- atomic-events-calendar
- Files:
-
- 2 edited
-
tags/1.0.3/README.md (modified) (2 diffs)
-
trunk/README.md (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
atomic-events-calendar/tags/1.0.3/README.md
r3371366 r3371367 75 75 76 76 77 === Template Hierarchy ===78 79 The plugin follows WordPress template hierarchy for single event pages. Templates are loaded in this order of priority:80 81 1. **Child Theme**: `child-theme/atomic-events/single/single-atomic-event.php`82 2. **Parent Theme**: `parent-theme/atomic-events/single/single-atomic-event.php`83 3. **Plugin Default**: `plugin/templates/single/single-atomic-event.php`84 85 === Template Override System ===86 87 The plugin uses a custom template loader that checks for theme templates first, then falls back to the plugin's default template. This ensures:88 89 - **Theme compatibility**: Works with any WordPress theme90 - **Customization flexibility**: Easy to override in themes91 - **Update safety**: Plugin updates won't break custom templates92 - **Developer-friendly**: Clear hierarchy and fallback system93 94 77 === Template Structure === 95 78 96 79 The plugin provides a comprehensive template override system. You can override any template by creating files in your theme: 97 80 98 ```php 81 <pre> 99 82 your-theme/ 100 83 └── atomic-events/ … … 106 89 │ ├── single/ 107 90 │ │ └── single-atomic-event.php 108 │ └── content/91 │ ├── content/ 109 92 │ │ └── single-event.php 110 93 │ │ 111 94 │ 112 ``` 95 <pre> 96 97 === Template Hierarchy === 98 99 The plugin follows WordPress template hierarchy for single event pages. Templates are loaded in this order of priority: 100 101 1. **Child Theme**: `child-theme/atomic-events/single/single-atomic-event.php` 102 2. **Parent Theme**: `parent-theme/atomic-events/single/single-atomic-event.php` 103 3. **Plugin Default**: `plugin/templates/single/single-atomic-event.php` 104 105 === Template Override System === 106 107 The plugin uses a custom template loader that checks for theme templates first, then falls back to the plugin's default template. This ensures: 108 109 - **Theme compatibility**: Works with any WordPress theme 110 - **Customization flexibility**: Easy to override in themes 111 - **Update safety**: Plugin updates won't break custom templates 112 - **Developer-friendly**: Clear hierarchy and fallback system 113 113 114 114 **Template Hierarchy Priority:** -
atomic-events-calendar/trunk/README.md
r3371366 r3371367 75 75 76 76 77 === Template Hierarchy ===78 79 The plugin follows WordPress template hierarchy for single event pages. Templates are loaded in this order of priority:80 81 1. **Child Theme**: `child-theme/atomic-events/single/single-atomic-event.php`82 2. **Parent Theme**: `parent-theme/atomic-events/single/single-atomic-event.php`83 3. **Plugin Default**: `plugin/templates/single/single-atomic-event.php`84 85 === Template Override System ===86 87 The plugin uses a custom template loader that checks for theme templates first, then falls back to the plugin's default template. This ensures:88 89 - **Theme compatibility**: Works with any WordPress theme90 - **Customization flexibility**: Easy to override in themes91 - **Update safety**: Plugin updates won't break custom templates92 - **Developer-friendly**: Clear hierarchy and fallback system93 94 77 === Template Structure === 95 78 96 79 The plugin provides a comprehensive template override system. You can override any template by creating files in your theme: 97 80 98 ```php 81 <pre> 99 82 your-theme/ 100 83 └── atomic-events/ … … 106 89 │ ├── single/ 107 90 │ │ └── single-atomic-event.php 108 │ └── content/91 │ ├── content/ 109 92 │ │ └── single-event.php 110 93 │ │ 111 94 │ 112 ``` 95 <pre> 96 97 === Template Hierarchy === 98 99 The plugin follows WordPress template hierarchy for single event pages. Templates are loaded in this order of priority: 100 101 1. **Child Theme**: `child-theme/atomic-events/single/single-atomic-event.php` 102 2. **Parent Theme**: `parent-theme/atomic-events/single/single-atomic-event.php` 103 3. **Plugin Default**: `plugin/templates/single/single-atomic-event.php` 104 105 === Template Override System === 106 107 The plugin uses a custom template loader that checks for theme templates first, then falls back to the plugin's default template. This ensures: 108 109 - **Theme compatibility**: Works with any WordPress theme 110 - **Customization flexibility**: Easy to override in themes 111 - **Update safety**: Plugin updates won't break custom templates 112 - **Developer-friendly**: Clear hierarchy and fallback system 113 113 114 114 **Template Hierarchy Priority:**
Note: See TracChangeset
for help on using the changeset viewer.