94bb9103cd
Fixes #55
33 lines
No EOL
1,013 B
PHP
33 lines
No EOL
1,013 B
PHP
<?php
|
|
/* functions.php
|
|
*
|
|
* All the function of Kazhnuz.Space
|
|
*
|
|
*/
|
|
|
|
include(TEMPLATEPATH . '/functions/posts-support.php');
|
|
include(TEMPLATEPATH . '/functions/niveaux.php');
|
|
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');
|
|
include(TEMPLATEPATH . '/functions/cat-template.php');
|
|
|
|
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' );
|
|
|
|
//estimated reading time
|
|
?>
|