1,221 reputation
418
bio website moraleida.me
location Rio de Janeiro, Brazil
age 30
visits member for 2 years, 11 months
seen 1 hour ago
/**
* Handyman Developer - WordPress Enthusiast
* Website: http://moraleida.me
* Email: ricardo [ at ] moraleida.me
* Tweet me @moraleida
*
* 
*/

19h
comment infinite scroll not working when logged out
hadn't even seen that. Good catch :)
23h
comment Items By Group added to custom post type
have a go at it and come back to tell us if it worked out
23h
comment Is there a way for a plugin to add an attribute to the <html> tag of a theme?
glad to help out!
1d
comment Items By Group added to custom post type
It's not really clear where you're having difficulties. Is it the ajax call?
1d
comment Getting a peer review for my new plugin?
4 years later... did you ever get to release those plugins? The gists suggest they're still half-way, but it still seems like a good idea.
Dec
4
comment Upload images from one site to another in Multisite
Hum... this is an old question, from before the media upload change in 3.5, so I'm not sure this answer works on the new HTML5 uploader. Anyway, the uploader variable there was actually the base url for media-upload.php, so that would translate to "example.com/wp-admin/media-upload.php"
Feb
25
comment Default Image Link Removal
Sorry about that, I completely misread your answer...
Feb
21
comment Default Image Link Removal
Don't ever edit core files. The changes will be lost the minute you update WordPress.
Nov
27
comment wp_update_post() doesn't update post_status?
Right you are, brother @brasofilo. I'll post it here shortly. :)
Oct
9
comment wp_update_post() doesn't update post_status?
Yes, i'm doing it as an network admin, and also as a "custom" user role.
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
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
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.
Aug
6
comment Editing footer for one page, keeping it the same for others
Check the example. The part between the first and second PHP tags is only rendered on the home page. The part between the second and third PHP tags is rendered on any other pages.
Jul
26
comment WP_Query do not include posts with a certain value in a custom field -
I'd missed the quotes around 'numeric', fixed now. Was that it?
Jul
25
comment Slugs Disappeared Leaving 404s - Quick way to repopulate?
Have you tried flushing your permalinks? Just go to Settings -> Permalinks and save the page.
Jun
14
comment Error after moving WordPress installation
is your new site loading from coachhousetimbers.com.au/old/ ? That's where WP is looking...
Jun
11
comment handling the featured category
This is not a problem with WordPress itself, since it doesn't ship with any "featured posts" functionality out of the box (except for sticky), so I guess your theme's author has built it and you're having trouble dealing with what he/she built. Now, there are solutions for that, but they depend on how your theme deals with the featured posts. If you care to link to your site or give any more info, that'll be useful to help you out.