WordPress.org

Support

Support » Themes and Templates » Syntax » Change Content of left sidebar

Change Content of left sidebar

  • Hi,

    I wanted to ask, how I can change the Input of the left sidebar. I need only one page with a long long text with different chapters. I want the sidebar to be a menu, which is not switching between different sides, it should jump to special points in the Text. Just like the wikipediamenu.

    The html-tag is simple with <div id="#chapter1"></div> and <a href="chapter1">, but I am not sure, how I can add it to the left sidebar. Any Ideas?

    Thanks for your help

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator Kathryn

    @zoonini

    Hi there, it sounds like you want to add a sidebar menu that links to various anchor points on a page.

    You could try making a custom menu and adding custom links for your chapters. Then assign the custom menu to the theme’s Primary Menu area.

    It would look something like this:

    Menus kp test site WordPress

    I just tested it and it seems to work. Let me know how it goes!

    If you need more help adding a custom menu: http://en.support.wordpress.com/menus/

    About custom links:
    http://en.support.wordpress.com/menus/#adding-custom-links

    Those support pages are on WordPress.com but it should work just the same on a self-hosted site.

    Ah fine, sorry haven’t looked down here, since I fixed it my way. Not the best way to do it, but simple there for me. I simply added html-code to my footer.php, CSS does the rest. I will also try yours, looks nicer to me.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Change Content of left sidebar’ is closed to new replies.
Skip to toolbar