Support » Themes and Templates » adding code for sidebar edit

    I changed my theme to the one shown which does not have a blogroll in its default ver. Changing to sidebar widgets with drag-and-drop breaks it so, I want to keep the default. Howevever, I want to add the blogroll (and call it links) above the META in the right-hand column. I’ve been searching for hours trying to figure out what the “if statement” should be on the function.php page. The more I read, the more confused I get.

    I assume this is correct for sidebar.php:
    <li id=”Blogroll”>

      <?php get_links(-1, ‘

    • ‘, ‘
    • ‘, ‘ – ‘); ?>

    <?php endif; ?>

    What goes on function.php (and where) this?

    <?php if (is_page() || $contlen >) { ?>

      <?php wp_list_bookmarks(); ?>

    <?php } ?>:

    Thank you in advance for any assistance!

  • The topic ‘adding code for sidebar edit’ is closed to new replies.