Page 1 of 1

Step by step to create an index in WordPress!

Posted: Sun Dec 22, 2024 5:58 am
by Abdur11
When it comes to web pages, it is common to see publications that have vast content and, consequently, a very large scroll.

This practice is often important and unavoidable for certain strategies, however, it is a factor that complicates access to the site.

With this in mind, it is important to speed up access to certain elements of your page.

The good news is that there is an element in HTML that philippines mobile number example allows the creation of links to determine page positions.

HTML bookmarks allow readers to jump to specific parts of a particular web page, making navigation easier for your visitors.

These markers are nothing more than links (or anchors) that, when clicked, cause the user's page to display up to the last point where the marker was applied.

In this article, we'll list a tutorial for each of the best table of contents creation options so you can implement these strategies today.

Everything is easier if your site is built on the WordPress platform. There is a plugin that automatically creates a list of links that lead to each subtitle on a page.

Come on?

Image

- How to create an index manually
- How to create an index through a WordPress plugin
- Using the anchor for external link

How to create an index manually
If your interest is quite specific, such as making a list of subheadings for just one piece of content on your site or blog, the manual index is a good option.

There are two very simple steps. First, you need to create the list of links (or anchors) with all the subtitles you want to list:

<a href="#anchor_name">Anchor Title</a>

In this case, we define the #anchor_name element as the id. That id must be unique, preceded by a hashtag (#) and it is very important that you do not use spaces in it . Numbers, characters such as the underscore ( _ ) and the hyphen (-) are allowed.

Next, you will need to insert the code that will mark the point on the page where the user will be redirected when clicking on the index: