5,685 reputation
11236
bio website markratledge.com
location Missoula, MT
age
visits member for 4 years, 3 months
seen 2 hours ago

Dec
29
comment Display the last date, regardless of articles
If this is a crosspost with the same question on serverfault, reference any help from there. And if this isn't for WordPress, is belongs on serverfault or stackoverfow.
Dec
29
answered Newlines in Wordpress.com blog?
Dec
28
answered Add posts from other Wordpress blog to the current one
Dec
24
accepted How to check an array of $curauth fields?
Dec
24
comment How to check an array of $curauth fields?
Thanks, that works. I already call the $curauth variable. I wasn't formatting the array the right way. But the code can be simplified a little as noted in my update to my question.
Dec
24
revised How to check an array of $curauth fields?
update
Dec
24
asked How to check an array of $curauth fields?
Dec
24
answered Different number of posts on the front page
Dec
23
comment How do I use “if field exists” with $curauth?
Ah, good point. Works fine now.
Dec
23
revised How do I use “if field exists” with $curauth?
update
Dec
23
accepted How do I use “if field exists” with $curauth?
Dec
23
comment How do I use “if field exists” with $curauth?
Your edit works better, but as per Otto above, it needs the !empty operator, i.e. : <?php if ( !empty( $curauth->twitter ) ) { echo '<a href=" ' . $curauth->twitter . '"><img src="' . get_bloginfo('template_url') . '/images/twitter.png"></a>'; } ?>
Dec
23
comment How do I use “if field exists” with $curauth?
Hmm.... No luck with that. No errors, either.
Dec
23
accepted How to determine if an admin is logged in outside the loop
Dec
23
comment How to determine if an admin is logged in outside the loop
Thanks, this is the simplest way to do it.
Dec
23
accepted Error on Include php:/usr/share/pear
Dec
23
asked How do I use “if field exists” with $curauth?
Dec
23
comment How to disable 3.3 Tooltips?
Thanks! I had to give the answer to t31os for a more complete answer. But the php function to write to the database is helpful and I will look into that more.
Dec
23
accepted How to disable 3.3 Tooltips?
Dec
23
comment How to disable 3.3 Tooltips?
Thanks, Mark. Interesting about the dependencies class; didn't know that. These things get more interesting the farther I get into them. I plan on leaving the tooltips in for beginning users, but I want to add the remove functions to several basic dev theme frameworks I use, at least for me, usually ID #1 user.