Forum Replies Created

Viewing 9 replies - 1 through 9 (of 9 total)
  • Thread Starter leinster

    (@leinster)

    Thanks for your help esmi,

    Somehow one of the plugins updated the news blog link with another. Don’t know how but solved it by recreating news blog page and linked to all posts again.

    Thread Starter leinster

    (@leinster)

    Thanks for your quick reply. Checked and clean. Also checked page which is being redirected. Says clean and displaying 301 redirect to another page of website. Wondering is therea way to trace where the redirect is written into the code and what file?

    Thread Starter leinster

    (@leinster)

    In answering my own question after trying out many suggestions found on the web.

    I had changed the category.php file a while ago to remove category archive text in the web page heading. I figured this may have had an effect.

    Solution

    Add <?php ob_start(); ?> to very top of file.

    And add <?php ob_end_flush(); ?> to very end of file

    Thread Starter leinster

    (@leinster)

    Thank you very much. Worked a treat.

    Thread Starter leinster

    (@leinster)

    Login Link locked out in Firefox. Trawled examples of css.
    Any idea whats wrong?

    style.css

    /* Header
    ---------------------------------------- */
    #header {
    	height:205px;
    	position:relative;
    	z-index:9999;
    }
    
    /* Login Style */
    .header-login
    {position: absolute;
    top: 50px;
    right: 180px;
    Z-index:1;
    }
    /* End of Login Style */

    Thread Starter leinster

    (@leinster)

    Hi Esme,

    I have spent most of this afternoon trying to understand what is wrong. I’m not a coder but I’ve gone through many other options to try get it.

    If I move the </div> tag to the top line then I lose the positioning.

    How does one apply the positioning style div to the form so that it wont lock a user out.

    I have tried this but it does not work

    <?php wp_login_form( $args ); ?>
    <div id="loginform">
    <?php $args = array(
            'echo' => true,
            'redirect' => site_url( $_SERVER['REQUEST_URI'] ),
            'form_id' => 'loginform',
            'label_username' => __( 'Username' ),
            'label_password' => __( 'Password' ),
            'label_remember' => __( 'Remember Me' ),
            'label_log_in' => __( 'Log In' ),
            'id_username' => 'user_login',
            'id_password' => 'user_pass',
            'id_remember' => 'rememberme',
            'id_submit' => 'wp-submit',
            'remember' => true,
            'value_username' => NULL,
            'value_remember' => false ); ?></div>
    #loginform{
    position: absolute
    top: 10px
    left:900px
    width:724px
    height: 500px
    }

    Thanks,

    L

    Thread Starter leinster

    (@leinster)

    Thanks for you help.

    Thread Starter leinster

    (@leinster)

    The login fields wont let me insert the cursor to add text.

    Code

    <div style="position: absolute; left: 800px; 0: 100px;">
    <?php wp_login_form(); ?>

    I replaced it with this but made no difference

    <div style="position: absolute; left: 800px; 0: 100px;">
    <?php wp_login_form($args); ?>
    <?php $args = array(
            'echo' => true,
            'redirect' => site_url( $_SERVER['REQUEST_URI'] ),
            'form_id' => 'loginform',
            'label_username' => __( 'Username' ),
            'label_password' => __( 'Password' ),
            'label_remember' => __( 'Remember Me' ),
            'label_log_in' => __( 'Log In' ),
            'id_username' => 'user_login',
            'id_password' => 'user_pass',
            'id_remember' => 'rememberme',
            'id_submit' => 'wp-submit',
            'remember' => true,
            'value_username' => NULL,
            'value_remember' => false ); ?>
    </div>

    [Moderator Note: Please post code or markup snippets between backticks or use the code button. As it stands, your code may now have been permanently damaged/corrupted by the forum’s parser.]

    Thread Starter leinster

    (@leinster)

    Thanks,

    I replaced the code in the header.php file with your suggestion and installed the Firebug add-on to firefox.

    Would you be able explain how I can position the login box. I have firebug open with css.

    Excuse my ignorance.

    L

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