Title: Adding PHP for Login Box to Header.php
Last modified: August 22, 2016

---

# Adding PHP for Login Box to Header.php

 *  [darkhorizons13](https://wordpress.org/support/users/darkhorizons13/)
 * (@darkhorizons13)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/theme-avada-adding-php-for-login-box-to-headerphp/)
 * Hey Guys;
    So I been manipulating the Avada theme for a site that I am building&
   I wish to use the plugin WPLB (login box). It supplies a section of php code 
   to be added into the theme header.php file. However when this is added in the
   code it effects the rendering of the site on mobiles & tablets. I am hoping some
   one can point out what I am missing. I had the WPLB code place under the line
   <body <?php body_class( $body_classes ); ?> data-spy=”scroll”> but as mentioned
   above this caused issues in the mobile version. I have provide the code sections
   below, Thanks in advance.
 * WPLB code:
    _[Moderated – If you want to share a thousand lines of code do it
   through [PasteBin](http://pastebin.com/)]_

Viewing 1 replies (of 1 total)

 *  [WPyogi](https://wordpress.org/support/users/wpyogi/)
 * (@wpyogi)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/theme-avada-adding-php-for-login-box-to-headerphp/#post-5887497)
 * That’s not a theme supported here – please ask the developers for help –
 * [http://codex.wordpress.org/Forum_Welcome#Commercial_Products](http://codex.wordpress.org/Forum_Welcome#Commercial_Products)

Viewing 1 replies (of 1 total)

The topic ‘Adding PHP for Login Box to Header.php’ is closed to new replies.

## Tags

 * [header.php](https://wordpress.org/support/topic-tag/header-php/)

 * 1 reply
 * 2 participants
 * Last reply from: [WPyogi](https://wordpress.org/support/users/wpyogi/)
 * Last activity: [11 years, 2 months ago](https://wordpress.org/support/topic/theme-avada-adding-php-for-login-box-to-headerphp/#post-5887497)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
