add top menu bar in wordpress

  1. Log in to your WordPress admin dashboard.
  2. Navigate to the "Appearance" section and click on "Menus".
  3. If you haven't created a menu yet, click on "create a new menu" and give it a name.
  4. Select the "Top Menu" location for the menu you want to create.
  5. Click on "Custom Links" to add the links to the menu items or choose from existing pages, posts, or categories to add to the menu.
  6. Drag and drop the menu items to arrange them in the desired order.
  7. Save the menu.
  8. Visit your website's frontend to see the newly added top menu bar.