From 13c77accbb79f8cfc974cc27fe19f7e3cd08c844 Mon Sep 17 00:00:00 2001 From: Antoine M Date: Wed, 15 Oct 2025 10:57:57 +0200 Subject: [PATCH] FEATURE Handling activity report feature --- functions.php | 1 + includes/rapport-activites.php | 25 +++++++++++++++++++++++++ template-parts/footer.php | 18 ++++++++++++------ 3 files changed, 38 insertions(+), 6 deletions(-) create mode 100644 includes/rapport-activites.php diff --git a/functions.php b/functions.php index c336a48..2b0a992 100644 --- a/functions.php +++ b/functions.php @@ -10,6 +10,7 @@ require_once(__DIR__ . '/includes/utilities.php'); require_once(__DIR__ . '/includes/nawalker_fction.php'); require_once(__DIR__ . '/includes/social-networks.php'); require_once(__DIR__ . '/includes/forms.php'); +require_once(__DIR__ . '/includes/rapport-activites.php'); // require_once(__DIR__ . '/includes/widget.php'); diff --git a/includes/rapport-activites.php b/includes/rapport-activites.php new file mode 100644 index 0000000..c856fc8 --- /dev/null +++ b/includes/rapport-activites.php @@ -0,0 +1,25 @@ + __('Rapport d\'activités', 'carhop'), + 'menu_title' => __('Rapport d\'activités', 'carhop'), + 'parent_slug' => 'options-general.php', + 'menu_slug' => 'rapport-activites-options', + 'capability' => 'manage_options', + 'redirect' => false, + )); +} + + diff --git a/template-parts/footer.php b/template-parts/footer.php index b3a060e..31a583d 100644 --- a/template-parts/footer.php +++ b/template-parts/footer.php @@ -30,13 +30,19 @@

  • +

    Rapport d’activité

    -

    - info@carhop.be -

    -

    - +32 67 48 58 61 -

    + + + + Télécharger lePDF + + +