Support » Theme: BlackBird » Text with link above header

  • saabti



    I am quite new to wordpress and have created a website using the Blackbird theme

    What I would like to be able to do is add a small piece of text with links above the header in order to direct to a different language version of the site

    eg: english/spanish

    Please could someone indicate the best way of doing this?

    I don’t need translation tools or anything like that – just a simple link!


Viewing 8 replies - 1 through 8 (of 8 total)
  • Jesin A


    You need to create a child theme for this. Following are the steps

    Create a directory – wp-content/themes/blackbird-child

    Create the following files with the code mentioned below it


    Theme Name: Black Bird Child
    Template: blackbird
    @import url('../blackbird/style.css');
    .above_header li {
    	display: inline;
    	list-style: none outside none;


    register_nav_menu( "above-header", "Above Header" );


    Copy paste code from

    Now go to Appearance > Themes and activate Black Bird Child.
    Go to Appearance > Menus, create and save a menu with your desired links.
    Go to the Manage Locations tab and and choose

    Above Header ----> <Your newly created menu name>



    Thanks Jesin

    I followed these instructions but when I refreshed the page the whole website was messed up – I got scared so I deleted all the child folder

    I just retried doing exactly the same but it happened again

    I’m not sure what I’m doing wrong…

    Jesin A


    It must be a problem with the stylesheet code.

    Can you do it now and post your site’s URL I’ll take a look at it and tell you what to do.




    the site is

    Jesin A


    Found what error you have made and why you made it.

    Have a look at

    You have copied the code from my reply notification you got in your email. So instead of a single quote ' you have pasted &39 as your email message shows it that way.

    Come to this thread and copy it.

    You’ve done the same mistake in too

    So copy the code again from this thread.

    Copy all code as it is. Don’t change even the comments section /* */

    After doing these changes go to Appearance > Themes and activate Black Bird Child



    Ahhh I see!! All fixed now!! Thanks!

    One more question – if I wanted to move it to the right hand side instead of the left, how do I do that?

    Jesin A


    Edit the wp-content/themes/blackbird-child/style.css file and add the following code

    .above_header {
      float: right;

    One more piece of advice, you should disable directory listing.

    Which means if you visit it lists all files inside it which is not safe on a production environment.

    So edit your .htaccess file and add

    Options -Indexes

    Doing this will show a 403 Forbidden error if someone tries to access directories like this.
    To more about this setting read this article I’ve written.

    Also your PHP setup is configured to display errors in the frontend which is not good. Turn is off by adding the following in the .htaccess file

    php_flag display_errors Off

    I’ve written an article on this too.



    Thanks Jesin! Very helpful info, I really appreciate it!

    I’ve read your articles and edited my .htaccess file with both lines, the only thing is, when I enter the second line

    php_flag display_errors Off

    my homepage comes up with 500 error message and I’m not sure what you mean by “check the syntax used in htaccess.”

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Text with link above header’ is closed to new replies.