23,721 reputation
22853
bio website gm.zoomlab.it
location Italy
age 32
visits member for 2 years
seen 2 mins ago

WordPress swearer, verbose PHP developer.

In this moment I'm probably complaining about WordPress while coding WordPress plugins.

Despite all your rages I don't like cats nor Star Trek. And I hate gifs.

I'm developer of Brain Project, a collection of packages for a modern OOP development in WordPress.


On Twitter


smarterer


Jul
30
comment Get Post thumbnail without width/height attribute
as @gdaniel said, setting height to auto fix that, actually jsfiddle.net/c3Ltt4bh/1
Jul
27
answered Cannot unserialize Wordpress serialized values in `wp_options` table?
Jul
24
comment WordPress Ajax Spitting out a page as a response?
Looking at your screenshot you see that request is sent to home page, not to admin-ajax.php. I guess reason is the one pointed out by @MattvanAndel: you're using, in the AJAX call in your js url: FreyaAjax.wp_url, but FreyaAjax.wp_url is not defined, what you have instead is FreyaAjax.ajaxurl that is set via wp_localize_script('script', 'FreyaAjax', array('ajaxurl' => ...
Jul
21
comment How to show a manageable list of images on a post?
@ialocin answering with a plugin suggestion is fine, if the answer is not link-only. request a plugin is not fine. I know I can suggest plugins, I actually suggested a lot of plugins, but that does not mean that asking for plugin suggestion is on topic. If I had a plugin to suggest for this specific question, I would suggest it, but I have not.
Jul
21
answered Multiple loops without repeating content
Jul
21
revised Multiple loops without repeating content
added 21 characters in body
Jul
20
comment How to show a manageable list of images on a post?
@Mauro Problems are: 1) this site is named "WordPress Development", so question have to regard development of plugins, not suggestions. You can use and suggest a plugin and not knowing any programming language. That's fine, but that's not the topic of the site. 2) Plugin suggestions, even free, are very likely "shopping list questions" a thing that is off-topic in almost all Stack Overflow network (see meta.stackexchange.com/questions/158809/…)
Jul
20
comment How to set an option for all sites in my network?
+1. For more info wordpress.stackexchange.com/questions/181219/…
Jul
19
awarded  Yearling
Jul
19
comment How to show a manageable list of images on a post?
The "core" way to maintain list of images attached to a post isn't very straightforward, however WP provides all the tools you need to build an effective UI. Problem is that it isn't possible to write an answer that explains how to do, because that will be so much for an answer. Surely there're plugins out there that can do what you're looking for, but suggesting plugins is out of the scope of this site. In short, IMO this question should be closed either as off topic or too broad. Being a bounty question it can't be closed, but I'll not be surprised if it will get no (good) answer.
Jul
12
comment How does nonce verification work?
@ed-ta wp_nonce_field actually calls wp_create_nonce. The previous is the easyest way, the latter gives you more control. Regarding your question, I'm not sure I understand... $_POST['noncename'], in PHP, is equal to the value sent via a form from a field with name 'noncename'.
Jul
12
comment How does nonce verification work?
@birgire I do typo like a pro :)
Jul
12
revised How does nonce verification work?
added 428 characters in body
Jul
12
answered How does nonce verification work?
Jul
11
comment What is the different between an attachment in wp_posts and an attachment in wp_postmeta?
The 2 tables contain different information. Post table contains some info, postmeta table contains some other info. To know the full story about an attachment you need information from both tables.
Jul
10
comment How to save new transients if query changes?
You can create the $args variable changing it per your needs, then just do $transient = 'rest-posts-' . md5(serialize($args)); so same arguments, same transient. @gdaniel
Jul
10
answered How to save new transients if query changes?
Jul
10
revised What is the different between an attachment in wp_posts and an attachment in wp_postmeta?
added 21 characters in body
Jul
10
revised What is the different between an attachment in wp_posts and an attachment in wp_postmeta?
added 21 characters in body
Jul
10
answered What is the different between an attachment in wp_posts and an attachment in wp_postmeta?