5,615 reputation
11136
bio website markratledge.com
location Missoula, MT
age
visits member for 4 years, 2 months
seen 7 hours ago

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.
Dec
22
asked How to disable 3.3 Tooltips?
Dec
20
answered Using chunk theme from wordpress.com on my own host
Dec
8
answered All font sizes change when manually typing 2011 into url and going to archive page
Nov
20
answered Warning when using <?php include 'thefile.php'; ?>
Nov
16
revised Error on Include php:/usr/share/pear
typos and errors
Nov
16
comment Error on Include php:/usr/share/pear
Thanks, I'm not the original plugin author; I'm just trying to get it to work. I do have a 404 and permalinks are on. The plugin will generate an e-card, but actually viewing the e-card URL is broken. The plugin is wordpress.org/extend/plugins/wp-ecards