Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Lära Creating Menus and Widgets | Basic Customization
Build a Code Free Website with WordPress
course content

Kursinnehåll

Build a Code Free Website with WordPress

Build a Code Free Website with WordPress

1. Getting Started with WordPress
2. Understanding the Basics
3. Basic Customization
4. Essential Plugins
5. Content Creation
6. Site Settings
7. Building a Complete Website from Scratch

book
Creating Menus and Widgets

Now that we've imported our Starter Template, we need to configure navigation menus and add widgets to improve the user experience.

Understanding Menus in Astra

When we imported our Starter Template, WordPress automatically created a pre-configured navigation menu. This means your site already has a menu with links to essential pages, such as Home, About, Services, and Contact.

However, menus are flexible — you can:

  • Edit existing ones;

  • Create new menus;

  • Assign them to different locations such as the header, footer, or sidebar.

Menus can include:

  • Pages: these are pages already created in your WordPress site, such as "Home," "About," and "Contact". (You must create pages in the Pages section before adding them to a menu);

  • Blog Categories: organize blog posts by topic, allowing visitors to browse related content;

  • Custom Links: direct visitors to external websites or specific sections of your site.

Note

Astra provides flexible menu location options, such as the Primary Menu (header), Footer Menu, and Off-Canvas Menu.

Editing an Imported Menu
expand arrow

Since our Starter Template already comes with a menu, let's learn how to modify it.

To edit an existing menu:

  1. Go to Appearance → Menus;
  2. In the Select a menu to edit dropdown, choose the Primary Menu;
  3. Click Select to open the menu settings.

Here, you can:

  • Add new pages;
  • Remove unwanted links;
  • Drag and drop menu items to reorder them;
  • Click Save Menu to apply the changes.

Your site's navigation will now reflect the updated menu structure.

Creating a New Menu (Footer Menu Example)
expand arrow

Let's say we want to add a secondary navigation menu in the footer.

To create a new menu:

  1. Go to Appearance → Menus;
  2. Click Create a New Menu, name it Footer Menu, and click Create Menu;
  3. Click Add Items to include links such as:
    • Privacy Policy;
    • Terms & Conditions;
    • Contact Page.
  4. Select Footer Menu as the display location;
  5. Click Save Menu.

Tip: the Footer Menu will now appear in the footer of your website, allowing visitors to access important pages easily.

Using Widgets to Enhance Your Website
expand arrow

Widgets are small content blocks that add extra functionality to different parts of your site, such as the sidebar or footer.

Common widget types include:

  • Search Bar: helps visitors find content easily;
  • Recent Posts: displays the latest blog articles;
  • Categories: organizes content by topic.
Adding Widgets in Astra
expand arrow

To add widgets:

  1. Go to Appearance → Widgets;
  2. Select a widget area (e.g., Sidebar, Footer);
  3. Click the + (Add Block) button;
  4. Click Browse all to see all available widget options;
  5. Click on a widget to add it to the selected area;
  6. Click on the widget block to customize its settings;
    • For example, if you added a Social Icons block, you can rearrange, add, or remove social media platforms.
  7. Click Update to apply changes.

Tip: widgets in Astra work just like the blocks we've previously explored, meaning you can customize them, move them, or delete them as needed.

question mark

How do you add a new page to an existing menu in WordPress?

Select the correct answer

Var allt tydligt?

Hur kan vi förbättra det?

Tack för dina kommentarer!

Avsnitt 3. Kapitel 3

Fråga AI

expand
ChatGPT

Fråga vad du vill eller prova någon av de föreslagna frågorna för att starta vårt samtal

course content

Kursinnehåll

Build a Code Free Website with WordPress

Build a Code Free Website with WordPress

1. Getting Started with WordPress
2. Understanding the Basics
3. Basic Customization
4. Essential Plugins
5. Content Creation
6. Site Settings
7. Building a Complete Website from Scratch

book
Creating Menus and Widgets

Now that we've imported our Starter Template, we need to configure navigation menus and add widgets to improve the user experience.

Understanding Menus in Astra

When we imported our Starter Template, WordPress automatically created a pre-configured navigation menu. This means your site already has a menu with links to essential pages, such as Home, About, Services, and Contact.

However, menus are flexible — you can:

  • Edit existing ones;

  • Create new menus;

  • Assign them to different locations such as the header, footer, or sidebar.

Menus can include:

  • Pages: these are pages already created in your WordPress site, such as "Home," "About," and "Contact". (You must create pages in the Pages section before adding them to a menu);

  • Blog Categories: organize blog posts by topic, allowing visitors to browse related content;

  • Custom Links: direct visitors to external websites or specific sections of your site.

Note

Astra provides flexible menu location options, such as the Primary Menu (header), Footer Menu, and Off-Canvas Menu.

Editing an Imported Menu
expand arrow

Since our Starter Template already comes with a menu, let's learn how to modify it.

To edit an existing menu:

  1. Go to Appearance → Menus;
  2. In the Select a menu to edit dropdown, choose the Primary Menu;
  3. Click Select to open the menu settings.

Here, you can:

  • Add new pages;
  • Remove unwanted links;
  • Drag and drop menu items to reorder them;
  • Click Save Menu to apply the changes.

Your site's navigation will now reflect the updated menu structure.

Creating a New Menu (Footer Menu Example)
expand arrow

Let's say we want to add a secondary navigation menu in the footer.

To create a new menu:

  1. Go to Appearance → Menus;
  2. Click Create a New Menu, name it Footer Menu, and click Create Menu;
  3. Click Add Items to include links such as:
    • Privacy Policy;
    • Terms & Conditions;
    • Contact Page.
  4. Select Footer Menu as the display location;
  5. Click Save Menu.

Tip: the Footer Menu will now appear in the footer of your website, allowing visitors to access important pages easily.

Using Widgets to Enhance Your Website
expand arrow

Widgets are small content blocks that add extra functionality to different parts of your site, such as the sidebar or footer.

Common widget types include:

  • Search Bar: helps visitors find content easily;
  • Recent Posts: displays the latest blog articles;
  • Categories: organizes content by topic.
Adding Widgets in Astra
expand arrow

To add widgets:

  1. Go to Appearance → Widgets;
  2. Select a widget area (e.g., Sidebar, Footer);
  3. Click the + (Add Block) button;
  4. Click Browse all to see all available widget options;
  5. Click on a widget to add it to the selected area;
  6. Click on the widget block to customize its settings;
    • For example, if you added a Social Icons block, you can rearrange, add, or remove social media platforms.
  7. Click Update to apply changes.

Tip: widgets in Astra work just like the blocks we've previously explored, meaning you can customize them, move them, or delete them as needed.

question mark

How do you add a new page to an existing menu in WordPress?

Select the correct answer

Var allt tydligt?

Hur kan vi förbättra det?

Tack för dina kommentarer!

Avsnitt 3. Kapitel 3
Vi beklagar att något gick fel. Vad hände?
some-alt