How Do I Add a Class to the Menu Li in WordPress?

Adding a class to the menu list in WordPress is easy. To do so, follow these steps:

1. Go to the WordPress administration area and choose “Menu” from the top menu.

2. On the “Menu” page, click on the “Classes” menu item.

3. On the “Classes” page, click on the “Add New” button.

4. On the “Add New” screen, enter the name of the class in the “Name” field.

5. In the “Description” field, provide a brief description of the class.

6. In the “Enabled” field, check the box if the class should be enabled on the menu list.

7. In the “Parent Menu” field, select the parent menu list from which the class should be added.

8. Click on the “Add” button to add the class to the menu list.

9. Click on the “Preview” button to view the class list on the “Classes” page.

10. Click on the “Update” button to update the class list on the “Classes” page.

11. Click on the “Cancel” button to cancel the class addition process.

12. Click on the “Publish” button to publish the class on the “Classes” page.

13. Click on the “Back to WordPress” button to return to the “Menu” page.

14. In the “Menu” page, click on the “Options” menu item.

15. On the “Options” page, click on the “Menus” tab.

16. In the “Menus” tab, under the “Classes” heading, select the class that you just published.

17. Click on the “Update” button to update the class list on the “Menus” tab.

18.

19. Click on the “Publish” button to publish the class on the “Menus” tab.

20.

21. In the “Menu” page, click on the “Posts” menu item.

22. On the “Posts” page, click on the “Add New” button.

23. On the “Add New” screen, enter the name of the post in the “Title” field.

24. In the “Body” field, provide a brief description of the post.

25. In the “Category” field, select the category in which the post should be added.

26. Click on the “Add” button to add the post to the post list.

27. Click on the “Preview” button to view the post list on the “Posts” page.

28. Click on the “Update” button to update the post list on the “Posts” page.

29. Click on the “Publish” button to publish the post on the “Posts” page.

30.

31. In the “Menu” page, click on the “Blog Posts” menu item.

32. On the “Blog Posts” page, click on the “Add New” button.

33.

34.

35.

36.

37. Click on the “Preview” button to view the post list on the “Blog Posts” page.

38. Click on the “Update” button to update the post list on the “Blog Posts” page.

39. Click on the “Publish”.