• hey guys,

    I’m a little new to the whole wordpress thing, but I do have some background knowledge with php, enough to maninpulate it to get the results I want.

    In the default template wordpress comes in, the sidebar.php has <?php wp_loginout(); ?> and <?php wp_register(‘// register’); ?>.

    Because I’m not using unordered/ordered listing, I removed [li][/li] from the sidebar file. However, when I saw the website online, the register link has the [li][/li] <– loooked at source code –>, giving me a random bullet point in the nav bar. The only explanation to this is that there is another file that sends new code to the php code in the sidebar file.

    I’m trying to look for the file within wordpress that has the original coding for this result.. so I can delete the [li][/li] in that OTHER file that was called from sidebar.php.

    I want to take the bullet point out and even rename “Register” to “register”(uncapitalized).. same goes for the Login to login

    Any help would be appreciated!! I’m sure this is a really easy problem for more experienced developers.

    -seong

Viewing 7 replies - 1 through 7 (of 7 total)
  • Those settings are hard-coded within wp’s core files. So yes, you can take them out once you find them if you’re comfortable hacking core, but then with the next upgrade or security fix, the changes you made may be overwritten.

    Now, for the lowercasing of “Register” and “Login”, you could simply add the line: text-transform:lowercase; to the css for the meta display.

    mmm. And for I want to take the bullet point out try:

    ul
    {
    list-style-type: none;
    }

    Thread Starter seongyoum

    (@seongyoum)

    ohhh! very good, yea didn’t think of that.. hahah thanks!!

    what if i want to add // right before login and register as a LINK

    like..

    “// login”
    and
    “// register”

    yea.. as a link [a][/a]

    Well, you can add them in ahead of the <?php wp_register(); ?> and <?php wp_loginout(); ?> lines, you may have to tweak position and size in the css.

    this is mine…

    <li><?php wp_loginout(); ?></li>
    <?php wp_register(); ?>

    you can try:

    <li>//&nbsp;<?php wp_loginout(); ?></li>

    edit: sorry, forgot that you’re not using [li]

    try using: <span>//</span>

    Algo en español?

    Thread Starter seongyoum

    (@seongyoum)

    Those are really good suggestions, but if I put the // right before the php coding, that // won’t be part of the link.. and the links on my page have a certain font color for linking as well as hovering.

    hrmmmm

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Sidebar Custimizability (formatting)’ is closed to new replies.