1,356 reputation
619
bio website moraleida.me
location Rio de Janeiro, Brazil
age 31
visits member for 3 years, 4 months
seen 2 days ago
/**
* Handyman Developer - WordPress Enthusiast
* Website: http://moraleida.me
* Email: ricardo [ at ] moraleida.me
* Tweet me @moraleida
*
* 
*/

May
31
comment restore a db after bad backup
What's your current status? You have posts and comments but not categories and tags? Categories and Tags are there, but not linked to posts?
May
30
comment Is there a way to define a default caption to all uploaded images
@brasofilo +1 for some very welcoming portuguese on WPSE. :)
May
30
comment restore a db after bad backup
I never really use regex for that step. Since it is replacing hardcoded base URLs, string replacement should do just fine, unless your URL has port numbers or anything usual.
May
30
answered restore a db after bad backup
May
30
revised Is there a way to define a default caption to all uploaded images
tested code
May
30
answered Is there a way to define a default caption to all uploaded images
May
29
comment On this day PHP code
Added the loop to it. This should help you get going.
May
29
revised On this day PHP code
added 501 characters in body
May
29
answered On this day PHP code
May
29
awarded  Tumbleweed
May
29
comment Filter for post_thumbnail: link to small src and add data-attribute
Check this answer just posted -> wordpress.stackexchange.com/a/53597/7890
May
29
comment Filter for post_thumbnail: link to small src and add data-attribute
Like @janw said, i think that'll be tough. I've seen people do it with some regex to filter the images markup from the_content filter and re-processing them to fit.
May
29
answered Filter for post_thumbnail: link to small src and add data-attribute
May
24
answered Template for individual post designs
May
24
comment Valid filenames for add_action's first parameter
Move the comment to an answer and accept it, then. :)
May
24
answered Changing date query from month
May
24
revised How can i maintain permalink structure and avoid a 404 error when loading external content?
Clarified title to reflect the actual question.
May
24
suggested approved edit on How can i maintain permalink structure and avoid a 404 error when loading external content?
May
22
comment Alter SQL query to return posts with unique custom field value, no duplicate values
Oops... typo. I meant "safe, and faster". As in "you'll probably be able to fetch the desired number of posts". :)
May
22
comment Alter SQL query to return posts with unique custom field value, no duplicate values
You can alter it if you like, depending on how many repeated values you have. Let's say you're displaying 10 posts and of the last 10, 5 have repeated values, then you need to query for a minimum of 15 to be able to fetch 10 unique-value posts, get it? Should be safer, and faster, querying for 50, or 100.