I made a template and had some help with adding a CSS file to the template.

Now I'm stuck on the question, how do I add a certain menubar to my header.

Example: topbar - has menu with "Welcome %username%"

One more: I want to add the Wordpress Admin Bar to this template as well. How do I do that?

Help is greatly appreciated!

  • I know how to include my header, but the header is far more than the menubar I need. And calling the menu bar via the header-include fills the whole header by stretching said bar.
    – theHubi
    Apr 16, 2015 at 6:36

1 Answer 1


Since noone responded, here's my solution:

I copied my menubar from header.php into a new file called menubar.php and called that file with include("menubar.php");

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.