mloberg
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: wp_nav_menu getting rid of divIt doesn’t change at all. It’s wrapped in a div called menu and then a ul.
Forum: Fixing WordPress
In reply to: wp_nav_menu getting rid of divHorizontal. I could sidestep the problem if I could rename the div to links. But I couldn’t get it, maybe I was typing something wrong.
wp_nav_menu( array(‘container_id’ => ‘links’) ); I tried this and it didn’t work.
Forum: Fixing WordPress
In reply to: wp_nav_menu getting rid of divI built a theme. The top nav bar is wrapped in a div of links. I was using wp_list_pages, with the addition of a “hard coded” home page.
I now want to use wp_nav_menu. When I replaced wp_list_pages with wp_nav_menu, it was already inside a ul, because I had that hard coded home button.So what I’m trying to do is get rid of the div and ul so I can keep the hard coded home. I suppose I could also get rid of the hard coded home and just put that in the custom nav, right? But then I would need to changed the name of the wp_nav_menu div to links. I tried this, but I could not get it to work.
Forum: Fixing WordPress
In reply to: wp_nav_menu getting rid of divI was messing with it and I couldn’t get anything to change. It was frustrating.
Forum: Fixing WordPress
In reply to: Giving each post a different div id in the WordPress LoopI figured out a way. I declared a variable and set it equal to 1, then at the end of each loop, I just added one to it.