- Item Name : Formation Manager
- Item Version : 1.2.0
- Author : Oussama El Assmaoui
- Copyright : 2025
Documentation for the WordPress Plugin: Formation Manager
Formation Manager is a WordPress plugin designed to manage and display formations, with built-in widget functionality and custom templates. This documentation provides a comprehensive guide for installation, setup, and usage of the plugin.
The plugin consists of the following key files:
- Formation Manager
- css
- formation-style.css
- templates
- single-formation.php
- css
[Formation Display]
To display a list of formations, use the following shortcode in any post or page:
- [formation_display]


[Formation Countdown]
To display a countdown timer for an upcoming formation, use:
- [formation_countdown id="FORMATION_ID"]
Replace FORMATION_ID with the specific ID of the formation.



Formation Widget
The Formation Widget allows you to display key formation data in widget areas (e.g., sidebars).
Setup:
1.Go to Appearance > Widgets.
2.Drag the Formation Widget to your desired widget area.
3.Configure the widget settings and save.
Formation Countdown Widget
The Formation Countdown Widget displays a countdown timer for a specific formation.
Setup:
1. Go to Appearance > Widgets.
2. Drag the Formation Countdown Widget to your desired widget area.
2. Set the formation ID and save.
- Template Override
- To customize the formation template:
- 1. Copy the templates/single-formation.php file.
2. Paste it into your theme folder underyour-theme/formation/single-formation.php .
3.Modify the file as needed. - Custom Hooks
- The plugin provides the following hooks for developers:
- formation_before_display: Runs before the formation is displayed.
- formation_after_display: Runs after the formation is displayed.
- Styling
- All styles are located in css/formation-style.css. To customize:
- 1. Copy the CSS file to your theme folder.
- 2. Enqueue your custom styles using wp_enqueue_style() in your theme's functions.php.