Viewing 12 replies - 1 through 12 (of 12 total)
  • ?? Did you look in wp-login.php?

    Thread Starter drsmith

    (@drsmith)

    Yeah, www.remarpro.com doesnt exist in that file. I think there’s a variable I need to change or disable generating that wordpress.com hyperlink. I also get it when posting or any admin page.

    Thread Starter drsmith

    (@drsmith)

    I found a line that looks like it could be it a while ago and replace it with:
    <div id=”login”>
    <h1>Nerdfilter</h1>
    Still, same results.

    Moderator James Huff

    (@macmanx)

    Sorry, edited my above post after you posted. See my post above.

    Thread Starter drsmith

    (@drsmith)

    When run the code produced is this

    <div id=”login”>
    <h1>WordPress</h1>
    <form name=”loginform” id=”loginform” action=”wp-login.php?action=login” method=”post”>

    Moderator James Huff

    (@macmanx)

    Ok….since you’ve ignored my post, I’ll post it again.
    Open the wp-login.php file. Look at lines 231-235.
    <div id="login">
    <h1>WordPress</h1>
    <?php _e('Please enter your information here. We will send you a new password.') ?>

    Thread Starter drsmith

    (@drsmith)

    Nope, I didnt ignore your post. That line has been replaced with the nerdfilter.com line I posted above.
    Am I missing something obvious?
    <div id=”login”>
    <h1>Nerdfilter</h1> (forum ruins the formatting here)

    Thread Starter drsmith

    (@drsmith)

    The WP logo is a background CSS element so if I do this I just have two overlapping logos.
    I mean, this has to be somewhere. I checked admin header, no luck.

    Moderator James Huff

    (@macmanx)

    You could make it into an image. Take a screenshot and then crop it.

    Moderator James Huff

    (@macmanx)

    Ok, drsmith, please read this slowly.
    The field that you are referring to is known to both the php files and the css as “h1” Basically, it’s a joint effort to display the content. The CSS says what h1 is, and the php file says what to do with it. You have mentioned that wp-login.php file contains the following code:
    <div id="login">
    <h1>Nerdfilter</h1>

    This places h1 in the required spot and then writes “Nerdfilter” over it. What you need to do, is open up wp-login.php and replace <h1>Nerdfilter</h1> with <h1>Nerdfilter</h1> . This will again place the word “Nerdfilter” over h1, but the word will now be linked to your site. It works for me, please try it.

    Thread Starter drsmith

    (@drsmith)

    Oh christ, I’ve been uploading to the wp-admin directory the whole time and had two wp-login.php pages.
    FWIW the string “<h1>Nerdfilter</h1>” never was used, I just didn’t use backticks to protect the code on this forum.
    Thanks for the help guys. Sorry for the silly ftp mistake.
    Now onto more fun stuff!
    How about this?
    https://www.everythingisnt.com/archives/screenshot.JPG
    I guess there’s an include or a template somewhere which generates the WordPress at the top, but have yet to find it.

    Thread Starter drsmith

    (@drsmith)

    Fixed this. Neede to edit admin-header.php

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘remove hardcoded hyperlink’ is closed to new replies.