How to make page specific navbar links in a block editor theme

[ad_1]

In my navbar I have a 'home', 'projects' and 'about me' link. Now the projects section is not its own page, as it is part of the home page, so when I click on projects while on the homepage it now smoothly jumps to that section of the page using anchor link '#projects'. However, this can only be achieved when making the link in the navbar '#projects'. Now the issue is that when i click on projects while on the about me page, it will just add the anchor to the about me url, meaning nothing will happen, so on the about me page I need a different link that is like '/home#projects'. However, I am using a theme with a block editor, and I don't know how to make the navbar have different links for different pages. Help would be greatly appreciated!

[ad_2]

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer