WordPress.org

Forums

How to add 'register' link on dynamic sidebars? (2 posts)

  1. thetiff
    Member
    Posted 7 years ago #

    I've been searching through the forums, but I don't think they have it yet.

    I just need to know how do you add the "register" link to the dynamic sidebar.

    This is what I have so far:

    <h2 class="hide">Site menu:</h2>
    <ul class="page">
    <?php wp_list_pages('sort_column=menu_order&depth=1&title_li='); ?>
    <?php if (is_page()) { $highlight = "page_item"; } else {$highlight = "page_item current_page_item"; } ?>
    <li class="<?php echo $highlight; ?>">">Home

  2. Len
    Member
    Posted 7 years ago #

    <?php wp_register(); ?>

Topic Closed

This topic has been closed to new replies.

About this Topic