Forums

Give help. Get help.

  • # March 8, 2013 at 10:07 pm

    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.

    # March 8, 2013 at 10:09 pm

    This might help too: http://wpshout.com/body_class/

    # March 9, 2013 at 10:34 am

    How did you set up your blog at `/blog`?

    # March 11, 2013 at 3:09 pm

    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.

    # March 11, 2013 at 3:12 pm

    Also check out this Bug from Starkers https://github.com/viewportindustries/starkers/issues/16

    # March 15, 2013 at 7:49 pm

    Why are you making this so difficult for your self?

    Just generate the menu via WordPress.

    Then include it in your template:
    `< ?php wp_nav_menu(); ?>`

    [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).

    # March 15, 2013 at 10:29 pm

    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.

    # March 18, 2013 at 4:17 pm

    @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.

Viewing 8 posts - 16 through 23 (of 23 total)

You must be logged in to reply to this topic.

icon-anchoricon-closeicon-emailicon-linkicon-logo-staricon-menuicon-nav-guideicon-searchicon-staricon-tag