WordPress.org

Ready to get started?Download WordPress

Forums

[closed] Static front page as like as Wordpres.com (2 posts)

  1. nabinbd
    Member
    Posted 1 year ago #

    The front page of wordpress.com site impressed me. That's why i m interested to do that. could you please help me in this fact.

    I m almost done,but background changing part is making the difficulty.
    Screenshot of my code

    My page template code is like below..

    <?php
    /**
     * Template Name: Homepage
     */
     ?>
    
    <html>
    <head>
    <style type="text/css">
    <!--
    .style1 {color: #FFFFFF}
    -->
    </style>
    </head>
    
    <body>
    <table width="980" border="1" align="center" bgcolor="#999999">
      <tr>
        <td colspan="2" bgcolor="#0099FF">My Site Title </td>
      </tr>
      <tr>
        <td height="319">Demo Videos </td>
        <td colspan="-3" bgcolor="#CCCCCC"><h3>Sign up and Start &nbsp;now.</h3>
          <p><a href="http://localhost/bd1/wp-login.php?action=register">Get Started </a></p>
          <div id="login">
    
            <form name="loginform" id="loginform" action="wp-login.php" method="post">
    	<p>
    		<label for="user_login">Username<br />
    		<input type="text" name="log" id="user_login" class="input" value="" size="20" /></label>
    	</p>
    	<p>
    		<label for="user_pass">Password<br />
    		<input type="password" name="pwd" id="user_pass" class="input" value="" size="20" /></label>
    	</p>
    	<p class="forgetmenot"><label for="rememberme"><input name="rememberme" type="checkbox" id="rememberme" value="forever"  /> Remember Me</label></p>
    	<p class="submit">
    		<input type="submit" name="wp-submit" id="wp-submit" class="button button-primary button-large" value="Log In" />
    		<input type="hidden" name="redirect_to" value="" />
    		<input type="hidden" name="testcookie" value="1" />
    	</p>
    </form>
    
    <p id="nav">
    <a href="http://localhost/bd1/wp-login.php?action=register">Register</a> |
    <a href="http://localhost/bd1/wp-login.php?action=lostpassword" title="Password Lost and Found">Lost your password?</a></p>
    
    <script type="text/javascript">
    function wp_attempt_focus(){
    setTimeout( function(){ try{
    d = document.getElementById('user_login');
    d.focus();
    d.select();
    } catch(e){}
    }, 200);
    }
    
    wp_attempt_focus();
    if(typeof wpOnload=='function')wpOnload();
    </script>
    	</div>
    
    	<link rel='stylesheet' id='admin-bar-css'  href='http://localhost/bd1/wp-includes/css/admin-bar.min.css?ver=3.5' type='text/css' media='all' />
    <link rel='stylesheet' id='bp-admin-bar-css'  href='http://localhost/bd1/wp-content/plugins/buddypress/bp-core/css/admin-bar.css?ver=1.6.2' type='text/css' media='all' />
    <script type='text/javascript' src='http://localhost/bd1/wp-includes/js/admin-bar.min.js?ver=3.5'></script>
    	<div class="clear"></div>	</td>
      </tr>
    </table>
    </body>
    </html>

    Note : I m not that expert coder.

  2. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

Topic Closed

This topic has been closed to new replies.

About this Topic