This repository has been archived on 2024-04-03. You can view files and clone it, but cannot push or open issues or pull requests.
kspace-wordpress-theme/functions.php

33 lines
1,013 B
PHP
Raw Normal View History

<?php
/* functions.php
*
2021-01-03 14:00:37 +01:00
* All the function of Kazhnuz.Space
*
*/
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-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
?>