How to insert html anchors to a page (links)

How to insert html anchors to a page (links)

Postby admin » Sat Apr 08, 2017 9:53 am

Some times we want to create a link to a section in a page, example, your homepage, to redirect users to an exact spot.

Go to Admin panel (left side menu) > Pages > Edit

locate the section and enter BEFORE the following code:
Code: Select all
<a name="anchor"></a>What you want people to read.

Or try:
Code: Select all
<a name="anchor">What you want people to read.</a>

Then you can create a link like this:
Code: Select all

You can have the link in text like so:
Code: Select all
<a href="http://your-site.com/#anchor">Please read this</a>

The same concept can be applied if you use text widgets with the Page Builder by SiteOrigin plugin.
Obviously you need to change "your-site" with your domain and give "anchor" a proper name.
The AVNW Support Team

If there is a false accusation made against you, then remove this fake report.

Shopping for a new website? See our design deals.

How much is your website worth? Get a free estimate.

And, if our post has provided you with great information, there are a few ways you can show your appreciation:
  1. Like us on Facebook
  2. Post a review.- Posting a good review about this site could help us provide improved support.

Thank You!
User avatar
Site Admin
Posts: 496
Joined: Sun Jan 12, 2014 11:18 pm
Location: New York City

Return to WordPress

Who is online

Users browsing this forum: No registered users and 0 guests