I would like to create a second navigation menu that goes below the main one (The one that contains the "About" and "Contact" etc. categories). This one would have images that have links and also which show text under them when hovered on. I have already created the necessary HTML and CSS for it, I just don't know how I would implement that into my site. The images and links are in a table, but the Wordpress navigation menu is a list, so I'm kind of stuck on what to do.
3条回答 默认 最新
- doupaxia2478 2017-07-20 10:44关注
Are you using a default/premium/free theme, or did you create one by yourself? I assume the first, so here are a few things you need to know.
- Wordpress uses hooks, so you can "link" your code at a certain point of their code, when a website is called. In its codex, you can learn more about how navigation menus are registered and called later on.
- A theme is something like a base, when you create your own website. You can create child themes and implement every further functionality and design changes right there.
In short: implement your menu, put it in your child theme and use the hooks to get it where you need.
解决 无用评论 打赏 举报