• Hi people! I stumbled upon wordpress today, after having designed a webdesign in Photoshop. The features of wordpress fit me perfectly! So! I thought I’d just base my entire design around it.

    Anywho; I want a theme with no header, as my “header” will be to the left (check out my site; http://www.marsmelons.com for what I mean), and I want two columns more (one for the actual content, and one for menu). I’ve only found one theme with no header, but it only has two columns.

    What do you think is the best way for me to incorporate wordpress into my design?

Viewing 7 replies - 1 through 7 (of 7 total)
  • You can do a custom theme. It looks like you are going that direction anyway. You just need to slice your PSD files into HTML files and images, then integrate them into WordPress. A step by step WordPress tutorial describing how to [link moderated] can be found by clicking the previous link.

    How do you write the code for a header that shows no header?

    Here is my current code:

    <?php
    /*
    Template Name: Optin
    */
    ?>

    <?php get_footer(); ?>

    the purpose of header.php is, imho, to do all the neccessary html stuff: doctype, meta tags, link, style etc.

    you header.php does not need to display any visible html, such as divs, paragraphs, or whatever.

    take the header.php from the kubrick default theme, for instance, and strip away anything which would shownormally:

    <?php
    /**
     * @package WordPress
     * @subpackage Default_Theme
     */
    ?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
    
    <head profile="http://gmpg.org/xfn/11">
    <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
    
    <title><?php wp_title('&laquo;', true, 'right'); ?> <?php bloginfo('name'); ?></title>
    
    <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
    <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
    
    <?php if ( is_singular() ) wp_enqueue_script( 'comment-reply' ); ?>
    <?php wp_head(); ?>
    </head>
    <body <?php body_class(); ?>>

    i personally would use the header.php to start all the divs, that may be needed to define the width of the site and to center the page; but this is not neccessary.

    OK here is now the code I am using:

    <?php
    /*
    Template Name: Optin
    */
    ?>

    <head profile=”http://gmpg.org/xfn/11″&gt;
    <meta http-equiv=”Content-Type” content=”<?php bloginfo(‘html_type’); ?>; charset=<?php bloginfo(‘charset’); ?>” />

    <title><?php wp_title(‘«’, true, ‘right’); ?> <?php bloginfo(‘name’); ?></title>

    <link rel=”stylesheet” href=”<?php bloginfo(‘stylesheet_url’); ?>” type=”text/css” media=”screen” />
    <link rel=”pingback” href=”<?php bloginfo(‘pingback_url’); ?>” />

    <?php if ( is_singular() ) wp_enqueue_script( ‘comment-reply’ ); ?>
    <?php wp_head(); ?>
    </head>
    <body <?php body_class(); ?>>

    <?php get_footer(); ?>

    But my plugins are still not working.

    Here is what I am trying to accomplish. I have an existing block with a theme. I am trying to create a landing page that has no header and no sidebar. Footer is OK to keep. But I want to be able to use all of my plugins. Text, video, optin box, etc. What am I doing wrong?

    Do you have a call to <?php wp_footer(); ?> in your footer.php file?

    Here is what’s in footer.php file:

    <!– content ends–>

    </div>

    <!– footer starts –>

    <div id=”footer”>

    <p>

    Copyright © <?php echo date(‘Y’); ?> <?php bloginfo(‘name’); ?>.

    Design by : Ken Magas Design Powered by WordPress WordPress </p>

    I’m sorry, I didn’t include the entire code, but here it is.

    <!– content ends–>

    </div>

    <!– footer starts –>

    <div id=”footer”>

    <p>

    Copyright © <?php echo date(‘Y’); ?> <?php bloginfo(‘name’); ?>.

    Design by : Ken Magas Design Powered by WordPress WordPress </p>

    <!– footer ends–>

    </div>

    <!– wrap ends here –>

    </div>

    <?php wp_footer(); ?>

    </body>

    </html>

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Theme with no header and 3 columns?’ is closed to new replies.