![]() ![]() This is because we established the anchor link, but your browser doesn’t know where the anchor is. Now if we would go to the website and try to click on the new link, nothing would happen, except that there would be #anchor-link-info in the URL. Oh yeah, make sure you use hashtags the right way, so you don’t end up like these. So for example, I’ll use #anchor-link-info. The id can be anything, but I advise to use something short but descriptive.īecause later you will see these links in Google Analytics since Google can link to specific parts of your site. If you want to separate words, you can use a hyphen.“ Next, give the link a name, but you have to put a # sign before it. Let’s convert this text to a link, by clicking here. Go to the text that you want to make into anchor link. Just make sure you are logged into your WordPress and find the post you want to add anchor link. The anchor link is the link you click and it triggers a scroll to the anchor somewhere below on the same page. In other words, it links to the same page. You click on a link and it takes you to another part of the same article. ![]() How to link to anchor link from another pageĪn Anchor Link Plugin with Smooth Page ScrollĪlright, the simplest way to add an anchor link to your WordPress does NOT require any plugins. Setup Simple WordPress Anchor Link without a plugin ![]() I’ve also made a video about adding an anchor link in WordPress: So that the ladies can link to you from anywhere. ![]() To achieve a smooth scroll, we will use a WordPress plugin page scroll to id.Īfter this tutorial, you can get yourself one of these tattoos… We will add custom id in HTML and use # in the link to tell WordPress that this link is on the same page.Ģ. I’ll show you two ways of how to add a WordPress anchor link (or some people call it to jump link or page jump) to your post, and this will work also on pages and menus.Īlso, I’ll reveal how to reach the anchor from another page.ġ. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |