Getting Started
  • Getting Started

Introduction

  • 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.

Installation

  • 1.Download the plugin ZIP file.
  • 2.Log in to your WordPress admin dashboard.
  • 3.Navigate to Plugins > Add New > Upload Plugin.
  • 4.Upload the ZIP file and click Install Now.
  • 5.Once installed, click Activate.

File Structure

The plugin consists of the following key files:

Shortcodes and Usage

[Formation Display]

To display a list of formations, use the following shortcode in any post or page:

  • [formation_display]
features

features

[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.

features

features

features

Core Features

features
Bootstrap
features
HTML
features
CSS
features
SQL
features
JavaScript
features
Responsive
features
Google Font
features
Browser Compatibility
features
SEO Optimize
features
Well Documentation
features
elementor
features
php

Widgets

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.

Customization

  • 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.