Peter Boosten
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Custom Fields] Howto hide custom fields when they are empty?Hmmm, Custom Fields are stored in wp_postmeta table, linked to post_id’s.
I guess it’s possible to query this table for all those values if you know what posts they are referring to.
Look at this page for some examples.
Peter
Forum: Themes and Templates
In reply to: [Custom Fields] Howto hide custom fields when they are empty?You could always test for a value:
$hms = get_post_meta($post->ID, "Time", $single = true); if ($hms) { // do your stuff }I did this here in an example.
Peter
Forum: Themes and Templates
In reply to: *sigh*internet explore,r sort of odd oneBegin by fixing your xhtml. IE is known to fall into quirks mode whenever it can.
Peter
Forum: Themes and Templates
In reply to: How to improve page visibility?links… Do you have more than one site? Place links to your site on each site, find friends to link to your site (and you link to them).
Peter
Forum: Themes and Templates
In reply to: Mysterious DIV Border Showing1. In that very same white.css is this:
body { background:#E5E5E5 none repeat scroll 0 0; }However, in style.css background-color is defined as #000, so you might want to remove that as well.
2. give both #utilities and #subscribe1 a top value of 50px (and remove the bottom value for #subscribe) in style.css.
Peter
Forum: Themes and Templates
In reply to: how to adjust space between several elements?Give your content a width to start with, then change the order of the floats, and have all float left. It’s wiser anyway to have your content as high as possible in your xhtml for SEO.
Add the margins to the floats (remember that these add to your width).
Peter
Forum: Themes and Templates
In reply to: Mysterious DIV Border ShowingYup, find this in your ‘white.css’:
#header h2 { border-right:1px solid #7F7F7F; }Peter
Forum: Themes and Templates
In reply to: remove “You’re using a old and buggy browser”My point is that the user of this theme may be totally unaware that this “friendly warning” exists, and that he doesn’t want to warn his visitors about this. What if a theme developer includes a warning against some religion, or worse a race?
I guess a theme developer is free to do so, but should give its users the possibility to switch it off, or warn about it in the FAQ.
Peter
Forum: Themes and Templates
In reply to: remove “You’re using a old and buggy browser”it’s just a friendly message that presents better alternatives to the visitor.
I know that’s how you meant it to be. I’m just telling you how it is (or could be) perceived.
EOD.
Peter
Forum: Themes and Templates
In reply to: Display summary of postthe_excerpt()
Peter
Forum: Themes and Templates
In reply to: remove “You’re using a old and buggy browser”Care to explain why is it so complicated on your side?
sure. Like corporate applications that stop to function after upgrading.
I agree about the free part, but then again: you’re offering a theme, not a moral.
I hope btw you’re not offended by me calling you a pig, I was merely referring to your avatar, I don’t really think you are one. I admire your work for WordPress and such.
Peter
Forum: Themes and Templates
In reply to: remove “You’re using a old and buggy browser”I won’t tell you where that message is
You’re a pig *GRIN*
Besides that: although I understand your reasons to display such a message (I assume I think I understand) I wonder whether it’s up to you to ‘bother’ visitors of sites you do not own with these kind of messages.
Lots of users, including myself, are bound to IE6, because that’s still the standard in some corporate environments (we have 23000 users). And yes, I can already hear you say, ermm write to upgrade to IE8 or FireFox, but that’s easier said than done (I’m fully aware of the security risks involved in not doing so, I’m responsible for Network Intelligence and Forensics).
Just my 2cts.
Peter
Forum: Themes and Templates
In reply to: remove “You’re using a old and buggy browser”It’s some old and buggy javascript, but I couldn’t find it.
Please post footer.php (or if it doesn’t exist index.php) in pastebin
Peter
Forum: Themes and Templates
In reply to: Contact us formBefore actually deploying this form you should consider redesigning it:
http://markjaquith.wordpress.com/2009/09/21/php-server-vars-not-safe-in-forms-or-links/
Peter
Forum: Themes and Templates
In reply to: Single static page with comments templateMaybe it’s about time you started to provide an URL: it’s way easier to see the site in action and give some meaningful advice.
Peter