|
Project Information
Links
|
This is my Mallow theme for the Wordpress blogging CMS. http://www.somefoolwitha.com/tag/mallow/ http://www.somefoolwitha.com/mallow_live/ Mallow ReadmeOK, this is my first theme for WordPress 1.5 (previously 1.3) so please be gentle. Partially engineered from Kubrick, much code and all design by Matthew.
InstallationYou need WordPress 1.3/1.5 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 notesNoted commentsOpen 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) : <br> $commentnumber = ($commentnumber + 1); <br> $normal = true;<br> $isNoted = false;<br> $isByAuthor = false;<br> $admin_email = get_settings("admin_email");<br> if($comment->comment_author_email == $admin_email) {<br> $isByAuthor = true;<br> $normal = false;<br> }<br> if($comment->comment_author_email == 'noted1@noted.com') {<br> $isNoted = true;<br> $normal = false;<br> }<br> if($comment->comment_author_email == 'noted2@noted.com') {<br> $isNoted = true;<br> $normal = false;<br> }<br> ?> 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') {<br> $isNoted = true;<br> $normal = false;<br> }
To highlight an area in a post use: <div class="highlight">Some text here</div>
<br/> padding: 3px 8px 2px 8px; } /* top title nav */Õ <br/> #supernav a { text-decoration: none; padding: 3px 8px 5px 8px; } /* top title tabs */ <br/> #supernav a:hover {
text-decoration: none;
padding: 3px 8px 2px 8px;
} /* top title tabs hover */ I have also tweaked the Category and Link call on the sidebar so that categories now show subcategories and links show pictures. I cant find how you set the Link call to show the different link categories. 1.57, 18-3-5 - Still more IE archive fun, around line 431 body#home .meta, body#archives .meta {
width:530px;
padding-top: 5px;
} and then added underneath it body#archives .entry { width:530px; }
Also in comments.php Ive changed the line here < textarea name="comment" id="comment" cols="80%" rows="10" tabindex="4"></textarea>note that that id was commentform but is now comment. Sorry if this breaks any antispam plugins but this is as per the default WP theme. Ive also found some odd behaviour with the comment form as Id altered it (sort of a combination of Mallow and the default WP theme) so I have taken the comment form lock-stock from default and dropped it into Mallow. This is now fixed.
1.11, 2-1-5 - As suggested by Robert Ive changed highlight to a class, so please update any posts from id="highlight" to class="highlight". 1.1, 31-12-4 - Definitely worthy of v1.1 I think (infact probably overdue). I have fixed the problem in IE with story titles and meta after the first post having the line cut short so they run on multiple lines. I think it was some kind of stupid IE CSS thing as I have had to reset them back to pixel widths, percentage just didnt work. 1.09, 29-12-4 - Separated track/pingbacks from comments thanks to code sent by Joen. 1.08, 24-12-4 - More CSS tweakage - mainly calendar. Images aligned left or right in posts with text SHOULDNT funk the remaining posts up.
1.07, 21-12-4 - Tweaked CSS, changed some widths from px to %. 1.06, 21-12-4 - Added calendar. 1.05, 17-12-4 - Changed comment count code as per mathias. 1.04, 17-12-4 - Added a nice little feature, in a post put <div class="highlight">Some text here</div> And itll be nicely highlighted. For more information, here is where I got the idea, and you can also see the pros and conns of class v id. 1.03, 17-12-4 - Fixed slight boo boo with the prev/next nav on the search page. 1.02, 14-12-4 - Further minor CSS amends (blockquotes and more) and yet more tweaking of the footer text. And errr, oops - forgot to remove plugin function calls from search page. 1.01, 12-12-4 - Upped version to 1 then 1.01 for minor amends. Added static page templates both with and without sidebar and removed admin from sidebar as its on the footer. Also fixed error when trying to access non-existent posts. Moved "anymorepages" function to header.php. Created an "other colours" CSS section to make colour amends easier and tidied CSS somewhat. Added initial idea for a main nav. beta 2, 11-12-4 - Fixed issue with gap at the top of the posts if there is not more than one page of posts (ie no nav links). Tweaked a few bits of CSS. Minor amends really, but I think the version number should probably be atleast V1 as its not technically beta, oh well next version. beta 1, 7-12-4 - Initial release.
|