Making menus visible in blank theme (5 posts)

  1. PeterStrempel
    Posted 3 years ago #

    Having spent some hours in the Codex and on this forum, I want to ask a question I never quite saw asked this way:

    I have a drop down menu widget installed

    I have created a blank template (not child or edited existing)

    I have enabled widget areas in that template which I can see and drop things onto in the admin screens.


    Nothing shows up in the template. No error codes, blank headings or empty lists. Nothing where I'd expect the menus (1xhorizontal in header, 1xvertical in right sidebar, and 1xhorizontal in footer).

    I have attempted to populate the header menu with example pages, the vertical menu with a search field and latest comments (none there, I know), and the footer with plain text. None of this shows up in the preview.

    Is there some magic spell I forgot?

    I'm running this in dev on XAMPP, so I can't point you to my pages, but I'd be very grateful for some hints on exactly where and what code I need to place (ie, what in functions corresponds to headers, sidebar and footer).

    Sorry for being a newbie numpty, but I guess it happens to the best of us the first time 'round.


  2. WPyogi
    Forum Moderator
    Posted 3 years ago #

    Did you register the menus per this?


  3. PeterStrempel
    Posted 3 years ago #

    Thank you kindly sir/madam. I had looked at this page but probably inserted code from mixed with other snippets found elsewhere to create fubar. After your advice I concentrated on following these instructions precisely.

    The result was bloody marvellous, with one exception: no dynamic sidebar. For that I had to look at c.bavota's page: http://bavotasan.com/2009/how-to-widgetize-your-wordpress-sidebar/.

    With both sets of instructions followed, I can now claim to have been incomprehensibly stupid enough to have started out with WordPress by designed my own template from scratch - with a lot of help from my friends - and survived to tell about it!

    My hat is tipped in your direction, WPyogi

  4. WPyogi
    Forum Moderator
    Posted 3 years ago #

    LOL -- well, excellent job at being "incomprehensibly stupid"!

  5. PeterStrempel
    Posted 3 years ago #


Topic Closed

This topic has been closed to new replies.

About this Topic