Forums

[resolved] K2 anchor tag error (2 posts)

  1. fattmelon
    Member
    Posted 4 years ago #

    I create an anchor link in the K2 theme blog page and it doesn't work and the code is changed when I save it.

    this is original from admin panel

    Cooking tips

    Cooking tips

    Changes to:

    cooking tips

    here's the page link http://www.petersonrealfood.com/?page_id=5

    any ideas? Thanks!

  2. fattmelon
    Member
    Posted 4 years ago #

    Sorry, I had the links backwards in my code. Here's how a page anchor works.

    At top of page put a link to something at the bottom of the same page. When you use the link it takes you to the info at the bottom.

    The code for the link: <a href="#thename">the text here</a> The code for the anchor: <a title="name" name="name"></a>text here

    The bottom info is 'anchored' together by the link above.

Topic Closed

This topic has been closed to new replies.

About this Topic