Programming custom PHP with Wordpress -


i have question regarding php , wordpress.

i started using wordpress simple website there still 1 thing don't understand. lets made cool website in php cointains header, footer , menu. how implement wordpress cms else can add item in menubar made, instead of adding item in theme made else? have hard time finding such tutorials because of them people no programming interests , because of don't explain such things.

if concern how connect menu wordpress admin, can check link: wp_nav_menu()

that wordpress function generate list of menu items add on admin.

for example use on theme display menu admin name "main menu":

<div class="my-menu">     <?php wp_nav_menu(array('menu' => 'main menu' )); ?> </div> 

Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -