Forums
Home / Fixing WordPress / How to add ‘register’ link on dynamic sidebars?
(@thetiff)
16 years, 1 month 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
(@lenk)
<?php wp_register(); ?>