WordPress.org

Ready to get started?Download WordPress

Forums

Help with a theme i working on (7 posts)

  1. Frozzare
    Member
    Posted 6 years ago #

    Hi there.

    I working on a theme to my wordpress blog. And some things don't work.

    The css: http://beta.itscouten.se/source/css.scout.txt
    The header: http://beta.itscouten.se/source/header.scout.txt
    The index: http://beta.itscouten.se/source/index.scout.txt

    note, the is just under development. But it say the template file is missing.

  2. Webmeba
    Member
    Posted 6 years ago #

    well i think we'd have to see the theme in action before we could say something over here :S . But judging by your problem it's probably some PHP error.

    Also what "things" don't work?

  3. Frozzare
    Member
    Posted 6 years ago #

    I fix the first error,

    demo site: http://beta.itscouten.se/wordpress/

    Parse error: syntax error, unexpected T_LNUMBER in /customers/itscouten.se/itscouten.se/httpd.www/beta/wordpress/wp-content/themes/scout/header.php on line 1

  4. Webmeba
    Member
    Posted 6 years ago #

    hmm

    try removing

    <?php if (is_404()) { header("HTTP/1.1 404 Not Found"); } ?>

  5. Frozzare
    Member
    Posted 6 years ago #

    It work, but it look like it don't read the css file ;S

    the don't work with <?php bloginfo(’stylesheet_url’); ?>

    but it work when i paste this

    http://beta.itscouten.se/wordpress/wp-content/themes/scout/style.css

    but shoulden the first work same as the web-link ?

  6. Webmeba
    Member
    Posted 6 years ago #

    use this

    <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />

  7. Frozzare
    Member
    Posted 6 years ago #

    Thanks it work :) just one more question (a)

    how do i show some div at one page , and other div's at another pages.

    /
    <div id="homeHeader"></div>

    /about/
    <div id="aboutHeader"></div>

    im not so good at php, but i try :)

Topic Closed

This topic has been closed to new replies.

About this Topic