finofontana
Forum Replies Created
-
Forum: Themes and Templates
In reply to: removing list item from wp-loginout and wp-registerHai esmi, Are you suggesting to edit the wp_register() function? If so: wp_register() would be in general-template.php which is a WP core file. Editing core files is dangerous, because the changes could be overwritten when upgrading WP.
What you can do, is to call wp_register() with arguments like this:<?php wp_register( ”, ” ); ?>
This way you’ll get rid of the li tags. Or you can call the function with tags of your liking:
<?php wp_register( ‘<div class=”register”>’, ‘</div>’ ); ?>
Next you’ll go and CSS the tag.
(also see: http://codex.wordpress.org/Function_Reference/wp_register).
Regards,
FinoForum: Themes and Templates
In reply to: G-Lock Double Opt-in Manager messes up sidebarGreat tip alchymyth! I don’t know why, but it works. Tried float: left (without the width:); works too, even in IE. Thanks.
Forum: Themes and Templates
In reply to: Where is the widget code?Great! Thanks for the hint. Now I’m pondering about the following.
I’ve found the code for Recent Comments (default_widgets.php: class WP_Widget_Recent_Comments):
<ul id=”recentcomments”><?php …
I’d like to change stuff here. F.e.: maybe I would like to use an
ol tag instead of an ul tag. I could change it in default_widgets.php, but as alchymyth mentioned: these changes could be overwritten when upgrading WP. How could I make changes which are being kept during an upgrade. Can I do something with functions.php for example?