Plugin Directory

Changeset 3371363


Ignore:
Timestamp:
10/01/2025 05:49:18 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.txt

    r3371339 r3371363  
    4444Basic usage is through shortcode:
    4545
    46 ```
     46``
    4747[atomic-events filter max='10' columns='3' featured='0' skip_first_x='0' skip skip_first_x_featured='1' order='ASC']
    48 ```
     48``
    4949
    5050== Installation ==
     
    9696The plugin provides a comprehensive template override system. You can override any template by creating files in your theme:
    9797
    98 ```
     98``
    9999your-theme/
    100100└── atomic-events/
     
    108108    └── content/
    109109        └── single-event.php
    110 ```
     110``
    111111
    112112**Template Hierarchy Priority:**
     
    131131When creating custom templates, you have access to these event fields:
    132132
    133 ```
     133``
    134134$event_model = new AtomicEventModel(get_the_ID());
    135135
     
    154154$event_model->get_event_image_id();
    155155$event_model->get_permalink();
    156 ```
     156``
    157157
    158158=== Creating Custom Templates ===
     
    167167The plugin provides several hooks for customization:
    168168
    169 ```
     169``
    170170// Filter the template path
    171171add_filter('atomic_events_template_path', 'my_custom_template_path', 10, 2);
     
    176176// Filter whether to show event in lists
    177177add_filter('atomic_events_should_show_in_list', 'my_custom_visibility_logic', 10, 2);
    178 ```
     178``
    179179
    180180=== Shortcode Parameters ===
     
    206206Simply place a shortcode in your page content area like so:
    207207
    208 ```
     208``
    209209[atomic-events filter="future" max="10" columns="3" featured="0" skip_first_x="0" skip_first_x_featured="1" order="ASC"]
    210 ```
     210``
    211211
    212212== Screenshots ==
  • atomic-events-calendar/trunk/README.txt

    r3371339 r3371363  
    4444Basic usage is through shortcode:
    4545
    46 ```
     46``
    4747[atomic-events filter max='10' columns='3' featured='0' skip_first_x='0' skip skip_first_x_featured='1' order='ASC']
    48 ```
     48``
    4949
    5050== Installation ==
     
    9696The plugin provides a comprehensive template override system. You can override any template by creating files in your theme:
    9797
    98 ```
     98``
    9999your-theme/
    100100└── atomic-events/
     
    108108    └── content/
    109109        └── single-event.php
    110 ```
     110``
    111111
    112112**Template Hierarchy Priority:**
     
    131131When creating custom templates, you have access to these event fields:
    132132
    133 ```
     133``
    134134$event_model = new AtomicEventModel(get_the_ID());
    135135
     
    154154$event_model->get_event_image_id();
    155155$event_model->get_permalink();
    156 ```
     156``
    157157
    158158=== Creating Custom Templates ===
     
    167167The plugin provides several hooks for customization:
    168168
    169 ```
     169``
    170170// Filter the template path
    171171add_filter('atomic_events_template_path', 'my_custom_template_path', 10, 2);
     
    176176// Filter whether to show event in lists
    177177add_filter('atomic_events_should_show_in_list', 'my_custom_visibility_logic', 10, 2);
    178 ```
     178``
    179179
    180180=== Shortcode Parameters ===
     
    206206Simply place a shortcode in your page content area like so:
    207207
    208 ```
     208``
    209209[atomic-events filter="future" max="10" columns="3" featured="0" skip_first_x="0" skip_first_x_featured="1" order="ASC"]
    210 ```
     210``
    211211
    212212== Screenshots ==
Note: See TracChangeset for help on using the changeset viewer.