Mallow A simple theme for WordPress 2.X+ (maybe even <2.X)

Posted on Tuesday, December 7th, 2004 at 9:40 pm. About Uncategorized.

Welcome to Mallow

Mallow Readme – Download ThemeView Readme

NOTE This is my first working version – it will still be tweaked.

OK, this is my first theme for WordPress 1.3 so please be gentle.

Partially engineered from Kubrick, much code and all design by Matthew.

If you notice anything broken in the CSS (more than likely) or you have some useful tweaks then please contact me, or by email.

Installation

You need WordPress 1.3 for this theme to work, when installed if you dont have a ‘themes’ folder within ‘wp-content’ then create one. Next drop the ‘mallow’ folder into this new ‘themes’ folder. Now log in to your Wordpress install and click the ‘Presentation’ tab. Near the bottom you should see ‘mallow’, simply activate it.

Just a few notes

Open and alter the images at your will. Theres also an admin and noted user ‘feature’ for comments. It will by default highlight the admins comments (uses the email address in ‘Options-General’) and you can also add ‘noted’ which will be slightly less highlighted than admin comments. Within the comments.php file, look at this bit;

<?php foreach ($comments as $comment) :
$commentnumber = ($commentnumber + 1);
$normal = true;
$isNoted = false;
$isByAuthor = false;
$admin_email = get_settings("admin_email");
if($comment->comment_author_email == $admin_email) {
$isByAuthor = true;
$normal = false;
}
if($comment->comment_author_email == 'noted1@noted.com') {
$isNoted = true;
$normal = false;
}
if($comment->comment_author_email == 'noted2@noted.com') {
$isNoted = true;
$normal = false;
}
?>

Changed ‘noted1@noted.com‘ and ‘noted2@noted.com‘ to email addresses whose comments you which to be highlighted. Too add address, take these lines

if($comment->comment_author_email == 'noted2@noted.com') {
$isNoted = true;
$normal = false;
}

…and copy and paste them below themselves… hopefully that makes sense. Then change the address to the new noted address.

That should be all I think

Matthew.

*Edit:* I need to check this for W3DC compliance stuff thingamyjig and CSS. Also need to find a way to reduce the gap betweed that blue bar with the search in it and the first post on the left if theresd not more than one page – IE doesnt have the Next Page / Prev Page links, if you dont know what I mean then dont worry.

18 responses to 'Welcome to Mallow'.

Comments are currently closed and Trackback URI for 'Welcome to Mallow'.
  1. iChris.ws - Posted on December 16th, 2004 at 4:48 pm.
  2. Mallow – Somefoolwit_habari - Posted on November 24th, 2008 at 11:38 pm.
  3. Somefoolwit_habari - Posted on November 24th, 2008 at 11:40 pm.
  1. 1 normal person
    Posted on December 7th, 2004 at 9:53 pm. About 'Welcome to Mallow'.

    Hello, im a normal person ;-)

  2. 2 noted person
    Posted on December 7th, 2004 at 9:54 pm. About 'Welcome to Mallow'.

    Im a noted person … woooo, look at me :-D

  3. 3 author
    Posted on December 7th, 2004 at 9:55 pm. About 'Welcome to Mallow'.

    Im the author! Im the best! :-D :-D

  4. 4 MastaMind
    Posted on December 8th, 2004 at 2:54 pm. About 'Welcome to Mallow'.

    Hi!

    Thank you for this very nice theme. I already installed it.
    Btw, do you know how to change the searchbar in the upper right corner in order to be more subtle? Something like http://www.binarybonsai.com...

    MastaMind

  5. 5 Sebastian
    Posted on December 8th, 2004 at 3:30 pm. About 'Welcome to Mallow'.

    Hi, Matthew! Mallow looks great, I like it!

    @MastaMind: In Michael Heilemann’s Kubrick – which Mallow seems to be based on – it’s these lines in “wp-layout.css”:


    /* Begin Form Elements */
    #searchform {
    margin: 10px auto;
    padding: 5px 3px;
    text-align: center;
    }

    #searchform input {
    border: 1px solid #ccc;
    color: #666;
    font-size: 8pt;
    }

    #searchform input:hover {
    border-color: #999;
    }

    #searchform input:focus {
    border: 1px solid #a30;
    color: #333;
    background: white;
    }

    #sidebar #searchform #s {
    width: 130px;
    padding: 2px;
    }

    #sidebar #searchsubmit {
    padding: 1px;
    border: 1px solid #ccc;
    }

    #sidebar #searchsubmit:hover {
    border-color: #999;
    }

    Hope this helps.

  6. 6 MastaMind
    Posted on December 8th, 2004 at 4:57 pm. About 'Welcome to Mallow'.

    Hey Sebastian!

    Thank you, thank you, thank you…
    For somebody like me with only limited knowledge of CSS your post is… thanks again.

    So I just implemented your comments. Looks great, still some adjustments necessary. Maybe somebody could give me a hint what I’m doing wrong with Livesearch…

    Thank you

  7. 7 matthew
    Posted on December 8th, 2004 at 6:34 pm. About 'Welcome to Mallow'.

    Livesearch is a bit of a dodgy character and TBH im not even sure how Id go about setting it up again – infact I couldnt get it working on my PowerBooks local test site.

    If you read through the instructions *very* carefully, and copy and past the search form from BB and look at his CSS it should work … with time.

  8. 8 MastaMind
    Posted on December 8th, 2004 at 7:11 pm. About 'Welcome to Mallow'.

    Thanks for your assistance. At least it seems work, from an optical stand point (no error codes, nothing), but in the moment it doesn’t show any results… Still working on it.

  9. 9 matthew
    Posted on December 8th, 2004 at 7:16 pm. About 'Welcome to Mallow'.

    Ok, sorry I cant be much more help. I would suggest you have a look here if you havent done already its a very helpful place.

  10. 10 MastaMind
    Posted on December 8th, 2004 at 9:02 pm. About 'Welcome to Mallow'.

    Thank you for your help. Still trying to get Livesearch to work properly…

  11. 11 MastaMind
    Posted on December 9th, 2004 at 8:43 am. About 'Welcome to Mallow'.

    Hi! Everything now working.
    Let me have your comments please.

  12. 12 Matthew
    Posted on December 9th, 2004 at 9:48 am. About 'Welcome to Mallow'.

    I see livesearch is working ;-) bit of a trial getting it to work

  13. 13 MastaMind
    Posted on December 10th, 2004 at 12:14 pm. About 'Welcome to Mallow'.

    Yeah! Livesearch is running… Hell of a work to get it to do what it is supposed to do…

    Another question: Could you have a look at my weblog again? I just made an post with a graphic and somehow the layout got screwed? What is it? Can I somehow change it? Thank you.

  14. 14 Matthew
    Posted on December 16th, 2004 at 4:57 pm. About 'Welcome to Mallow'.

    I have no problem, convert away. drop me a line when youve done it and ill link to you.

  15. 15 Mathias Bynens
    Posted on December 17th, 2004 at 3:59 pm. About 'Welcome to Mallow'.

    Nice-lookin’ theme.

    Just a suggestion to that code you got there: $commentnumber = ($commentnumber + 1); could be replaced by the even cleaner & faster $commentnumber++;.

Choose from Full RSS or comments RSS feeds.
Mallow is powered by WordPress 2.9.2 and delivered to you in 0.698 seconds.
Theme: Mallow. Administrator login and new user registration.