Is using wp_nav_menu compulsory?
-
I’ve built a site as a stand alone front-end site which I’m now loading onto WordPress to utilise the CMS facility. I’m using a child theme for HTML5 Blank Theme. Everything’s good and everything is working in my localhost. However, I’ve been told I’m breaking WordPress conventions by not using the wp_nav_menu to build my Home page navigation, instead I’m using a standard frontend html code version with CSS styling applied –
<header> <nav> <a href="<?php the_permalink(4); ?>#particle-slider">Home</a> <a href="#what">What we do</a> <a href="#who">Who we are</a> <a href="#partners">Who we work with</a> <a href="#contact">Say hello</a> <a href="<?php the_permalink(70); ?>">Blog</a> </nav> </header>So, will this navigation work when the site is launched? I understand that WordPress convention may dictate that I use the WP menu but will my version still work? I’m quite new to WordPress so using the html blank theme seemed the most straightforward way to set up a pre-built site. Do I need to change this?
The topic ‘Is using wp_nav_menu compulsory?’ is closed to new replies.