I got below code in TwentyFourteen theme's function.php file.

register_nav_menus( array(
        'primary'   => __( 'Top primary menu', 'twentyfourteen' ),
        'secondary' => __( 'Secondary menu in left sidebar', 'twentyfourteen' ),
    ) );

I would like to know about twentyfourteen. I know this is description from here.

Where is this text display in WordPress ?

2 Answers 2


If I got you correct, You would like to know about where Top primary menu is written.

So answer is simple, it is the part of the back end.You need to login to your admin dashboard.

After login , Go to Appearance > Menus. When you go here, you will find below screen:

enter image description here

In above pic, you can find Menu Name. Here you need to create Menu first. Give any name. I have given My Menu.

enter image description here

After giving any name, you can see Create Menu button. Hit that button to create Menu. So now will see following screen.

enter image description here

As you can see in above picture, there is two tab now.Second tab is Manage Locations. When you click on that tab, you will see above to text.See below picture:

enter image description here

So basically, these name is for the locations of the menu where you can decide which menu should appear in which location.

  • Thanks @Rohil_PHPBeginner for your reply. But I would like to know "Where is the text twentyfourteen display in WordPress ?"
    – Foysal
    Dec 26, 2014 at 10:15
  • Its not for the front end. So you can not see it in front end. Dec 26, 2014 at 10:24
  • I would like to see at back end (admin dashboard).
    – Foysal
    Dec 26, 2014 at 11:10
  • I am wondering why do you want it at back end and for what purpose ? Dec 26, 2014 at 11:11
  • Actually I would like to know that function properly.
    – Foysal
    Dec 26, 2014 at 11:18

twentyfourteen is the text domain for the theme, which is used for defining all string in the theme, that are translatable. Secon parameter of functions _e() and __() are the text domain for the specific theme or plugin.

More on text domains (and localization as a general topic) you can read here:


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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