1,276 reputation
518
bio website moraleida.me
location Rio de Janeiro, Brazil
age 30
visits member for 3 years
seen 6 hours ago
/**
* Handyman Developer - WordPress Enthusiast
* Website: http://moraleida.me
* Email: ricardo [ at ] moraleida.me
* Tweet me @moraleida
*
* 
*/

Oct
8
revised wp_update_post() doesn't update post_status?
updates and new tests
Oct
8
comment wp_update_post() doesn't update post_status?
Ok, this just in: if I strip out the post_status before updating the post, it then gets reverted to draft and still appears in the admin panel as scheduled. So it works, but that still doesn't answer why I can't revert it to future.
Oct
8
comment wp_update_post() doesn't update post_status?
post date gets updated, but post status doesn't. So if I publish a post today, and then set it to future with a date three days from today, the date gets changed, but post_status is still publish, instead of future
Oct
8
revised wp_update_post() doesn't update post_status?
added 99 characters in body
Oct
8
asked wp_update_post() doesn't update post_status?
Oct
4
revised Upload images from one site to another in Multisite
Updated title to fit standards and strike the old explanation in favor of the answer.
Oct
4
accepted Upload images from one site to another in Multisite
Oct
4
answered Upload images from one site to another in Multisite
Sep
28
accepted Close the media-upload thickbox right after upload is finished?
Sep
28
answered Close the media-upload thickbox right after upload is finished?
Sep
28
asked Upload images from one site to another in Multisite
Sep
6
asked Rewrite post type slug only for child theme
Sep
2
asked Close the media-upload thickbox right after upload is finished?
Aug
30
revised Search ONLY by meta key / meta values
Solution posted!
Aug
30
comment Search ONLY by meta key / meta values
The str_replace idea worked with some adjustments, will post on the question. As a follow up on performance: do you think altering the main query with posts_where is really slower than doing a direct SQL Query + a regular WP_Query as you suggested in A)?
Aug
30
accepted Search ONLY by meta key / meta values
Aug
30
asked Search ONLY by meta key / meta values
Aug
14
awarded  Yearling
Aug
6
comment Editing footer for one page, keeping it the same for others
Example: codex.wordpress.org/Function_Reference/…
Aug
6
comment Editing footer for one page, keeping it the same for others
Yes. Same file. However, if changes are too large, you might just want to load different files, so instead of calling get_footer() on index.php and testing if it's the home page from inside the footer.php you can make a differente footer-home.php file and use get_footer('home'); whenever you want to call it.