6,041 reputation
11337
bio website markratledge.com
location Missoula, MT
age
visits member for 4 years, 8 months
seen 6 hours ago

Sep
26
comment Google Authorship on a multi-author blog?
It's because Google has ended the authorship and image in SERPs program. Read support.google.com/webmasters/answer/6083347?hl=en
Aug
25
comment Use an array of page template slugs and $hook
Just found out this breaks in the 4.0 Beta. Had to go back to my original function above with no array.
Aug
18
comment Use an array of page template slugs and $hook
Thanks! Works great. I didn't know that there was no dedicated hook for user management.
Aug
14
comment How do I change site url to my new domain?
Don't use simple SQL change queries in the database via adminer or phpmyadmin. WordPress and some themes store configurations and URLs in serialized data, which a simple SQL query won't correctly handle.
Jul
28
comment WordPress MultiSite Won't Work on Google AppEngine
Questions that are too localized (such as syntax errors, code with restricted access, hacked sites, hosting or support issues) are not in scope here on WP Dev.
Jul
28
comment My php code is not being executed
By 'text editor part of a webpage", do you mean in the text editor in WordPress admin? You can't execute PHP in the WordPress editor without a plugin or function in functions.php that specifically allows PHP execution. It's for security.
Jul
22
comment Need plugins and themes from clients site
"...the current hoster does not want to provide that information to make it easy for us to get the files." Sounds sketchy to me.
Jul
16
comment Simplest way to add a second html editor to the post/page admin?
Thanks, I tried both and both work well for different needs; Custom Meta Boxes and Fields for complex uses, and the Secodnary HTML Content for simple sites. But I now use CMB&F for everything.
May
25
comment Slow getting posts from category
What did you do?
May
16
comment Feedburner closing </head> error
Your feed works fine and valiates: feedvalidator.org/…
May
6
comment get_post_meta with WP_query
Arg, you're right. It was that simple. Thanks.
May
2
comment get_post_meta with WP_query
Stephen, good point, yes they do....
May
2
comment get_post_meta with WP_query
Hmmm... get_the_ID() doesn't echo anything.
May
2
comment get_post_meta with WP_query
It's the correct key, for one key, not an array.
May
2
comment get_post_meta with WP_query
Arg, you're right, but that didn't make a difference. There's something not working globally with the post ID, I think.
May
1
comment Upload in Media Library only shows a part of the picture (incomplete upload)
Enable debug and see what you find: codex.wordpress.org/Debugging_in_WordPress
Apr
27
comment Link Back to Parent Category - Woocommerce
What code for the CPTs have you tried?
Apr
27
comment Link Back to Parent Category - Woocommerce
You're better off asking at community.woocommerce.com Woocommerce questions are off topic at WPDev.
Apr
26
comment Permanently remove first image from posts
You can replace with nothing, if you want to delete images and links. Use grep to find the image link and replace with ''.
Apr
17
comment Upgrading themes never works
Sounds like you need to take a look at chmod in the shell and check the owners/groups. Check wordpress.stackexchange.com/questions/26045/…