I have recently been asked how to add bookmarks to a WordPress Page or post. The directions are listed on the following page: https://dehaan-lovaas.info/testing-area/bookmarks-in-wordpress/, although here are the directions for creating these bookmarks within the page as well.
Creating Bookmarks in WordPress is a bit complicated. The first step is
to create an html file that has the link to the bookmark as well as the bookmark
itself that you want at the tip of your page or post.
Once you have your example link, then put in the text below and create the
place that you want to bookmark the link to.
Once you have your text in place you must first make a bookmark where you
would like it to be using your dreamweaver directions. Then go back and
make a link out of the text at the top of the page (or wherever you have it)
that takes you to the bookmark.
The next step is to copy the html code from your html file and paste it into
the html code section of your page or post in WordPress. Once there you
will have to adjust the link code as follows:
- Where the code says — <a href=”#Example_Bookmark”> (which will be your
link bookmark title)
- You will need to change this to say — <a href=”http://www.yourdomain.com/yourpagelink/#Example_Bookmark”>
- In the case of this page I change this to say <a href=”https://dehaan-lovaas.info/2011/05/creating-bookmarks-in-wordpress/#Example_Bookmark”>
- Then save the file.
Once this is done the bookmark should work correctly.