Forums
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
How about, re-uploading the `wp-admin` and `wp-includes` folders from a fresh download of WordPress…
Remember to back up before! Just in case.
This might help too: http://wpshout.com/body_class/
How did you set up your blog at `/blog`?
I’ve managed to replicate what you’ve done on my local setup with Starkers and the issue is with the creation of Blog page and setting it up as static for your posts.
I’m getting blank body class also.
I would just use one of the conditional statements and output custom class for `blog` that you can target.
Also check out this Bug from Starkers https://github.com/viewportindustries/starkers/issues/16
Why are you making this so difficult for your self?
Just generate the menu via WordPress.
Then include it in your template:
``
[This will get generated. (CodePen, with more info)](http://codepen.io/anon/pen/LbKxt)
You might also need to [add theme support for menus](http://codex.wordpress.org/Function_Reference/add_theme_support), and [you can add multiple menus too](http://codex.wordpress.org/Function_Reference/register_nav_menus).
You already have functionality built in. All you have to do is generate the menu, look at the code, figure out what elements/classes/ids are there and just apply current functionality to appropriate elements.
Don’t worry about asking questions! It’s the reason this place exists.
It’s always hard before it’s easy. Don’t get frustrated.
@mintertweed I’ll go over your reply soon and respond in detail. Been busy today.
If you switch to default theme, create the menu, then switch back to Starks theme, menu should be there. That’s how I did it in my local example.