Footer menu navigation does not display or show at the footer (twenty sixteen )
-
The footer menu navigation does not show at the footer of twenty sixteen theme I edited the php of child theme now the theme supports more than two menus under wp-admin/nav-menus.php but the navigation (Footer menu ) does not show at the theme footer Also i created a new menu and i assigned it to footer menu when i try to add items like pages they only appear at the top primary menu this is the code i used under my child theme Php <?php
add_action( ‘wp_enqueue_scripts’, ‘theme_enqueue_styles’ );
function theme_enqueue_styles() {
wp_enqueue_style( ‘parent-style’, get_template_directory_uri() . ‘/style.css’ );
}function twentysixteen_setup() {
/*
* Make theme available for translation.
* Translations can be filed in the /languages/ directory.
* If you’re building a theme based on Twenty Sixteen, use a find and replace
* to change ‘twentysixteen’ to the name of your theme in all the template files
*/
load_theme_textdomain( ‘twentysixteen’, get_template_directory() . ‘/languages’ );// Add default posts and comments RSS feed links to head.
add_theme_support( ‘automatic-feed-links’ );/*
* Let WordPress manage the document title.
* By adding theme support, we declare that this theme does not use a
* hard-coded <title> tag in the document head, and expect WordPress to
* provide it for us.
*/
add_theme_support( ‘title-tag’ );/*
* Enable support for Post Thumbnails on posts and pages.
*
* @link http://codex.wordpress.org/Function_Reference/add_theme_support#Post_Thumbnails
*/
add_theme_support( ‘post-thumbnails’ );
set_post_thumbnail_size( 1200, 9999 );// This theme uses wp_nav_menu() in two locations.
register_nav_menus( array(
‘primary’ => __( ‘Primary Menu’, ‘twentysixteen’ ),
‘topnav’ => ‘TopNav Links Menu’,
‘footer’ => ‘Footer Menu’,
‘social’ => __( ‘Social Links Menu’, ‘twentysixteen’ ),
) );/*
* Switch default core markup for search form, comment form, and comments
* to output valid HTML5.
*/
add_theme_support( ‘html5’, array(
‘search-form’,
‘comment-form’,
‘comment-list’,
‘gallery’,
‘caption’,
) );/*
* Enable support for Post Formats.
*
* See: https://codex.wordpress.org/Post_Formats
*/
add_theme_support( ‘post-formats’, array(
‘aside’,
‘image’,
‘video’,
‘quote’,
‘link’,
‘gallery’,
‘status’,
‘audio’,
‘chat’,
) );/*
* This theme styles the visual editor to resemble the theme style,
* specifically font, colors, icons, and column width.
*/
add_editor_style( array( ‘css/editor-style.css’, twentysixteen_fonts_url() ) );
} -
Hi there,
This forum is intended for folk who have their sites hosted here at WordPress.com while your site is hosted with another company and running on the free software available over at WordPress.org.
The difference between the two types of WordPress (WordPress.com and WordPress.org) is a common point of confusion. If you’re unsure of the differences, then this guide provides a good overview.
Twenty Sixteen’s dedicated support forum over on WordPress.org is the best place for you to go for free help with customising the theme:
https://wordpress.org/support/theme/twentysixteen
Depending on how advanced the level of customisation you’re after is, you may also wish to consider hiring help.
Hope that helps to point you in the right direction and best of luck. :)
- The topic ‘Footer menu navigation does not display or show at the footer (twenty sixteen )’ is closed to new replies.