2020-12-30 21:27:12 +01:00
|
|
|
<?php
|
2020-12-30 19:04:58 +01:00
|
|
|
/* functions.php
|
|
|
|
*
|
2021-01-03 14:00:37 +01:00
|
|
|
* All the function of Kazhnuz.Space
|
2020-12-30 19:04:58 +01:00
|
|
|
*
|
|
|
|
*/
|
2020-12-30 21:27:12 +01:00
|
|
|
|
2023-05-20 11:36:03 +02:00
|
|
|
include(TEMPLATEPATH . '/functions/posts-support.php');
|
2023-05-20 12:02:34 +02:00
|
|
|
include(TEMPLATEPATH . '/functions/niveaux.php');
|
2023-05-20 11:36:03 +02:00
|
|
|
include(TEMPLATEPATH . '/functions/flags.php');
|
|
|
|
include(TEMPLATEPATH . '/functions/breadcrumb.php');
|
|
|
|
include(TEMPLATEPATH . '/functions/tags-moreinfo.php');
|
|
|
|
include(TEMPLATEPATH . '/functions/profile-extra-fields.php');
|
|
|
|
include(TEMPLATEPATH . '/functions/romans.php');
|
|
|
|
include(TEMPLATEPATH . '/functions/reading-time.php');
|
2023-05-20 12:02:34 +02:00
|
|
|
include(TEMPLATEPATH . '/functions/cat-template.php');
|
2023-10-04 15:30:00 +02:00
|
|
|
include(TEMPLATEPATH . '/functions/remove-block-library.php');
|
2023-05-20 11:36:03 +02:00
|
|
|
|
|
|
|
function wpb_custom_new_menu() {
|
|
|
|
register_nav_menus(
|
|
|
|
array(
|
|
|
|
'top-navbar' => __( 'Navbar (gauche)' ),
|
|
|
|
'top-navbar-2' => __( 'Navbar (droite)' ),
|
|
|
|
'link-menu' => __( 'Liste des liens' ),
|
|
|
|
'footer-pages' => __( 'Pages dans le footer' ),
|
|
|
|
'social' => __( 'Reseaux sociaux' ),
|
|
|
|
'social-plus' => __( 'Reseaux sociaux supplémentaires' ),
|
|
|
|
)
|
|
|
|
);
|
|
|
|
}
|
|
|
|
add_action( 'init', 'wpb_custom_new_menu' );
|
2023-03-12 16:26:45 +01:00
|
|
|
|
|
|
|
//estimated reading time
|
2023-05-20 11:36:03 +02:00
|
|
|
?>
|