Unit V - WordPress Notesm, K.
Unit V - WordPress Notesm, K.
WORDPRESS NOTES
If your site is new, or if you want to create a different menu from the one that was pre-
selected when you added the Navigation block, you can do that by following the steps
below:
5. After you click on Create new menu, the existing menu will be removed from the page,
and a new, empty Navigation block will be added in its place.
6. The new menu will automatically be named Navigation or Header navigation. You
can change this name later in the Advanced section of the Navigation block settings.
7. Click the + Block Inserter to begin adding new menu items to the Navigation block:
8. When you’ve finished adding the menu items, click Save in the top right corner of the
editor to update the page and save your new menu.
After you make your first menu, you will notice that two new options appear:
Auto add pages: If checked, new pages will be added automatically when you create
them.
Theme locations: Allows you to decide where your custom menu will appear in your
theme. By default, your menu will appear in your theme’s main navigation area.
However, you can select a different location if your theme allows for it.
Place your cursor at the point in your content you want to insert a link and click this
button to open a basic link dialogue. This dialogue provides a text field to enter your
link, and a second text field to enter the text to display. This allows your link text to be
different from the link itself.
Below the text fields is a check box titled “Open link in a new tab”. If this is checked,
any time a user clicks on your link, it will open the link in a tab separate to the one they
are viewing your website in. This is a good idea for links to sites other than your own
as it ensure a user does not lose your website when viewing other content.
With existing content, it is usually best to not open these links in a new tab for good
user experience.
Editing links in WordPress
If you wish to edit a link already in your content, you can place the cursor anywhere on
that link and click the pencil icon. This will open the same dialogue as mentioned in the
adding link section above. From there you can make the necessary changes as needed
and update your link.
To remove a link in WordPress, just like editing, place your cursor anywhere in the link,
and select the remove link button as show in red in the image below.
📝 Note: Please note that this guide refers to classic themes. If you need to add subitems
to FSE themes, here is a useful guide.
Submenu items are secondary menus that appear beneath the primary menu items, used
mainly to organize related content for an efficient experience.
1
Navigate to Appearance > Menus.
2
Select from the dropdown list the menu that you want to edit.
3
From the Add menu items area, check the subitem and click on Add to Menu.
4
After adding it, choose the subitem and drag it under the primary item.
5
When everything is ready, click on the Save Menu button.
📝 Note: Please note that this guide refers to classic themes. If you need to add subitems
to FSE themes, here is a useful guide.
Submenu items are secondary menus that appear beneath the primary menu items, used
mainly to organize related content for an efficient experience.
Select from the dropdown list the menu that you want to edit.
3
From the Add menu items area, check the subitem and click on Add to Menu.
After adding it, choose the subitem and drag it under the primary item.
1. Click on the block you want to add the anchor to. Many common blocks support
anchors, including Paragraph, Heading, Image, Columns, and Buttons.
2. View the block’s settings in the right sidebar. If you do not see the sidebar on the right,
click the Settings icon in the top right corner to bring up the settings. This icon looks
like a square with two uneven columns:
The settings icon in the top right corner
1. Type some text, or add an image, button, or navigation menu item for your readers to
click.
2. Select the text/image/button/menu item and click the link option in the block’s toolbar.
The link option is an icon that looks like the actual link of a chain, as highlighted here:
3. Type in the HTML Anchor you created in Step 1, starting with the hashtag (#) symbol.
For example, if you created an anchor named create-a-page-jump you would type your
link as #create-a-page-jump
4. Click Save/Update/Publish in the upper right corner of the editor to save your changes.
That’s it! You can now test your link on the public page to make sure the link you
created in Step 2 leads you to the anchor you created in Step 1. Note that the page jump
links will not work when you preview a page or post, so test on the published version.
The difference is that instead of linking just to the anchor, like how we wrote our link
as #create-a-page-jump in step 2 above, we would link to the full page URL plus the
anchor.
https://yourgroovydomain.com/example/
and you create an anchor called unique-identifier on that page, then the full jump link
would be:
https://yourgroovydomain.com/example/#unique-identifier
A link is a word or a group of words you can click on to go to another page. You can
also add links to images, buttons, and menus. This guide will show you how to create
text links on your site.
In this guide
1. Create a Text Link
Method One: The Link Button
Method Two: Copy and Paste
Method Three: Type [[
2. Edit an Existing Link
Open a Link in a New Tab
Mark a Link as Nofollow
3. Remove a Link
Create a Text Link
There are several ways to add links (also known as hyperlinks) to words in pages, posts,
and anywhere else that you normally edit text.
Method One: The Link Button
Adding a link via the Link button
1. Visit your dashboard.
2. Go to Pages or Posts and click any page or post to edit it, or visit the site editor
at Appearance → Editor.
3. Using your mouse or touchpad, highlight the text you want to add a link to.
4. A toolbar will appear directly above the text. Click the link icon that looks like
the link of a chain: