Plugin Directory

Changeset 3371367


Ignore:
Timestamp:
10/01/2025 06:14:37 PM (5 months ago)
Author:
lehelm
Message:

update readme.

Location:
atomic-events-calendar
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • atomic-events-calendar/tags/1.0.3/README.md

    r3371366 r3371367  
    7575
    7676
    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 theme
    90 - **Customization flexibility**: Easy to override in themes
    91 - **Update safety**: Plugin updates won't break custom templates
    92 - **Developer-friendly**: Clear hierarchy and fallback system
    93 
    9477=== Template Structure ===
    9578
    9679The plugin provides a comprehensive template override system. You can override any template by creating files in your theme:
    9780
    98 ```php
     81<pre>
    9982your-theme/
    10083└── atomic-events/
     
    10689│   ├── single/
    10790│   │   └── single-atomic-event.php
    108 │   ── content/
     91│   ── content/
    10992│   │   └── single-event.php
    11093│   │
    11194
    112 ```
     95<pre>
     96
     97=== Template Hierarchy ===
     98
     99The plugin follows WordPress template hierarchy for single event pages. Templates are loaded in this order of priority:
     100
     1011. **Child Theme**: `child-theme/atomic-events/single/single-atomic-event.php`
     1022. **Parent Theme**: `parent-theme/atomic-events/single/single-atomic-event.php`
     1033. **Plugin Default**: `plugin/templates/single/single-atomic-event.php`
     104
     105=== Template Override System ===
     106
     107The 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
    113113
    114114**Template Hierarchy Priority:**
  • atomic-events-calendar/trunk/README.md

    r3371366 r3371367  
    7575
    7676
    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 theme
    90 - **Customization flexibility**: Easy to override in themes
    91 - **Update safety**: Plugin updates won't break custom templates
    92 - **Developer-friendly**: Clear hierarchy and fallback system
    93 
    9477=== Template Structure ===
    9578
    9679The plugin provides a comprehensive template override system. You can override any template by creating files in your theme:
    9780
    98 ```php
     81<pre>
    9982your-theme/
    10083└── atomic-events/
     
    10689│   ├── single/
    10790│   │   └── single-atomic-event.php
    108 │   ── content/
     91│   ── content/
    10992│   │   └── single-event.php
    11093│   │
    11194
    112 ```
     95<pre>
     96
     97=== Template Hierarchy ===
     98
     99The plugin follows WordPress template hierarchy for single event pages. Templates are loaded in this order of priority:
     100
     1011. **Child Theme**: `child-theme/atomic-events/single/single-atomic-event.php`
     1022. **Parent Theme**: `parent-theme/atomic-events/single/single-atomic-event.php`
     1033. **Plugin Default**: `plugin/templates/single/single-atomic-event.php`
     104
     105=== Template Override System ===
     106
     107The 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
    113113
    114114**Template Hierarchy Priority:**
Note: See TracChangeset for help on using the changeset viewer.