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

Feb
16
comment Multiple wp-config.php files in one home directory
Thanks, I'll have to try this during the next few days.
Feb
16
comment Multiple wp-config.php files in one home directory
Thanks for this extensive answer, and this should work fine on a VPS or other machine where one has access to vhosts, but I'm on a good - but shared - system.
Feb
13
comment Multiple wp-config.php files in one home directory
Read what I wrote and the WP docs: "up one directory level..." That's one level above /wp-includes/. That's what works right now. If I moved wp-config.php into wp-admin or another folder, it wouldn't work.
Feb
13
comment Multiple wp-config.php files in one home directory
See codex.wordpress.org/Hardening_WordPress#Securing_wp-config.php
Jan
26
comment Facebook like button not showing up in iframe
@Otto: good point
Jan
26
comment Facebook like button not showing up in iframe
You create the APP in the account you want to access with the plugin and want to "Like", not your own. Follow the instructions that the plugin itself will give you.
Jan
20
comment When at / ( or “home”) my menu doesn't get a current-menu-item class
He's using wp_nav_menu, not wp_list_pages
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
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
23
comment How do I use “if field exists” with $curauth?
Ah, good point. Works fine now.
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
comment How to determine if an admin is logged in outside the loop
Thanks, this is the simplest way to do it.
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
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.
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
Nov
13
comment How do I reset this wp_list_categories query?
You're right; I was looking at the wrong aspects of the query. I changed the second set of cat calls to $cat_left_1 and 2 and that worked. Thanks!
Oct
20
comment How to determine if an admin is logged in outside the loop
Thanks, but I'm not running multisite with subdomains, and it seems like overkill to set a new cookie. Is there a way to access the current logged in cookie?
Aug
11
comment What's the most efficient database method to add and query usermeta?
Both answers are good, but you were first. Thanks.
Aug
9
comment How do I change the web site summary in search results?
@pixeline, You're better off adding your comment to Tim's question above; he's looking for the plugin, not me.