WordPress.org

Ready to get started?Download WordPress

Forums

Custom Login
[resolved] Custom HTML - nothing shows (15 posts)

  1. sukuiyer
    Member
    Posted 2 years ago #

    I have installed the plugin and it works to customize my login page with a logo and colors etc.

    However, the custom HTML doesnt work. There is no change at all to the page.

    Wish you had some words explaining where the custom HTML would show up in the first place. Is there an example page where the custom HTML worked? Thanks.

    http://wordpress.org/extend/plugins/custom-login/

  2. Austin Passy
    Member
    Plugin Author

    Posted 2 years ago #

    The HTML is output via jQuery. What HTML are you trying to include?

  3. sukuiyer
    Member
    Posted 2 years ago #

    First of all, where is this HTML supposed to show up?

    There is a white space above login. I just want to display a message saying welcome to XYZ portal.

  4. Austin Passy
    Member
    Plugin Author

    Posted 2 years ago #

    It's appended to <body>.

    Try <div id="announcement">Welcome!</div> then style #announcement in the custom CSS.

  5. sukuiyer
    Member
    Posted 2 years ago #

    OK I tried this

    In the custom HTML box

    <div id="announcement">
    <P>Welcome to the portal editor </P>
    </div>

    In the style box

    #announcement p { color:#000000; }

    nothing shows up on the page :(

  6. Austin Passy
    Member
    Plugin Author

    Posted 2 years ago #

    Have you activated the plugin at the very top settings?

  7. sukuiyer
    Member
    Posted 2 years ago #

    Yes the box is checked

  8. Austin Passy
    Member
    Plugin Author

    Posted 2 years ago #

    You'll have to point me in the direction of your site so I can see the output code.

  9. sukuiyer
    Member
    Posted 2 years ago #

    http://brillient.net/wp-admin/

    Let me know what you find ...........

  10. Austin Passy
    Member
    Plugin Author

    Posted 2 years ago #

    Try this (all in line and lowercase):

    <div id="announcement"><p>Welcome to the portal editor</p></div>

  11. sukuiyer
    Member
    Posted 2 years ago #

    It didnt work, WP converted it back into

    <div id="announcement"><p>Welcome to the portal editor</p></div>

    in the text area

  12. Austin Passy
    Member
    Plugin Author

    Posted 2 years ago #

    First off, it's working. Second you've got some lightbox javascript that's added to wp_head in the login page which is screwing everything up. So once you remove it on that page everything should work.

  13. Austin Passy
    Member
    Plugin Author

    Posted 2 years ago #

    You can also add this to your theme:

    add_filter( 'login_message', function() { return 'Hello!' });

  14. sukuiyer
    Member
    Posted 2 years ago #

    Thanks Austin. Where in the theme should I add it? which php file?

    Can I use Action Hooks to place this code (with PHP code plugin) on any part of the site?

  15. Scott West
    Member
    Posted 2 years ago #

    I'm having the same problem... I had to deactivating the plugin SexyBookmarks (by Shareaholic). I really like the bookmark plugin, so i've got a little problem unless someone knows a work around?

    I have no idea what's up with this --- add_filter( 'login_message', function() { return 'Hello!' }); ---

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic