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

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.
Aug
8
comment Making a parent directory writable by the server
Under no circumstances should any WP directory be 777
Aug
7
comment How can i increase the login expiration length?
Interesting; I didn't realize it's the same case on my localhost; the cookie doesn't have an expire date. And this would work better in a plugin, anyway, rather than needing to be added to functions.php
Aug
3
comment Add a jQuery function to admin pages
Good points, I'll do this. And are you editing someone else named Mark Duncan, or a different account for yourself? :)
Jul
26
comment Add a new checkbox in theme options
That's possible, and there are lots of examples of basic theme option panels I could adapt, but I want to work with what already exists to keep from rewriting it all. Turned out to be a simple issue from moving the theme from wp.com to self-hosted.
Jul
25
comment Add a new checkbox in theme options
Ah, that worked! Must have to get_option first, then call it. Like you say, this seems to be the old way of handling theme options. Thanks for all the help! - Mark
Jul
25
comment Add a new checkbox in theme options
option_name under wp_options is vertigo_theme_options
Jul
25
comment Add a new checkbox in theme options
Hmm.... Still no luck. But maybe we're getting closer. Added what the options look like in the DB: are they serialized? And gain substituting vertigo_font for disable_comments_link in the the template call to test with no luck.
Jul
25
comment Add a new checkbox in theme options
Thanks! Good point to see if the option is getting saved to the DB; it is, in the same option value as the two other options that were already part of the theme. So I think it is being santized and serialized correctly near the bottom of the main code sample above, becuase it gets saved in the DB as either true or false. I substitued vertigo_font for disable_comments_link in the if (get_option(... in the template file with no luck; so something is wrong with the template file option call?
Jul
25
comment Add a new checkbox in theme options
It would be nice to work with what's here rather than rewrite it all. One existing option hooks into wp_head to load scripts.
Jul
25
comment Add a new checkbox in theme options
Thanks, and that would work, but I need to fix the built-in options rather than use a plugin.
Jul
24
comment Add a new checkbox in theme options
No, it doesn't use register_setting()
Jul
24
comment Add a new checkbox in theme options
Ah, starting to make sense. Yes, the options checkbox appears (small screenshot above; the extra closing parenthesis might be a clue to what's broken?). This is a theme I'm adapting from wp.com to self-hosted. I grabbed all the files from wp.com subversion. Everything in the theme works; just trying to add another option.
Jul
19
comment Import old SQL dump into new Wordpress version
No. Make a new database in phpmyadmin, import dump. Add the new DB details - name, user, password, localhost - in wp-config.php. Simply upload WP2.9 files and folders; don't run install.
Jul
19
comment Import old SQL dump into new Wordpress version
Ok, then you can probably do a auto-update to 3.2, but maybe best to go to 3 manually. Load the 2.9 files from wordpress.org/download/release-archive to start.
Jul
14
comment After finishing building a site on localhost, how do I transfer everything to a client's server?
@hakre: wp.tutsplus.com/tutorials/hosting/… advocates using a text editor to change URLs; that will break serialized data.
Jul
12
comment Not enough memory
64 is plenty; you're not going to have 256 or 512 available on a shared host (and that will result in more errors), and you don't need that much unless you're running multisite and on a VPS.
Jul
12
comment Not enough memory
64 is plenty; you're not going to have 256 or 512 available on a shared host (and that will result in more errors), and you don't need that much unless you're running multisite and on a VPS. If you can't get WP to run OK bumping to 64M at your host, ask them; you may need to think about changing hosts.
Jul
8
comment Get current logged in user under 3.1, re: remove “Howdy”
Ah, very smart. I was using the original function as I stole it from a plugin called "Better Howdy." Didn't realize there was an easier way. Thanks!
Jul
8
comment Get current logged in user under 3.1, re: remove “Howdy”
I don't know; that's the complete function I am using. I don't see in the first place where user is grabbed.