180 reputation
18
bio website
location
age
visits member for 2 years, 5 months
seen Jul 6 at 17:57

Apr
13
comment Should I global $wpdb outside of any of my plugin's functions scope?
Thats a cool piece of code, thank you!
Apr
13
comment Wordpress database error - Error in SQL syntax - I can't identify any error?
While that is completely true, I wasn't able to know that before getting an answer. It also could have been that there are Wordpress functions that handle the task of my function, for example.
Apr
13
comment Wordpress database error - Error in SQL syntax - I can't identify any error?
Ah that makes sense, of course I only need to prepare user input. Another thing I just noticed is the importance of double quotes. Thank you for your help!
Nov
2
comment How do I know what variables are passed in a filter/action and what their meaning is?
Thank you so much, perfect!
Nov
2
comment How do I know what variables are passed in a filter/action and what their meaning is?
Thanks for your answer, I think I just understood a major principle of Wordpress. Basically its one big passing around of variables and sometimes the name of them just changes, right? Because $info is just another name for $output? Also what exactly happens in the filter named 'bloginfo_url'? I tried to find it in the core, but its not there. Is it just a name?
Sep
12
comment saving/reading custom field value does not work - no value gets POSTed
@brasofilo Do you mean security wise? Or because I have that code in my functions.php?
Sep
12
comment saving/reading custom field value does not work - no value gets POSTed
Ah ok thank you. But then it's a defined behavior by Wordpress to pass that information to the function in the callback, independent from the variable name?
Sep
12
comment saving/reading custom field value does not work - no value gets POSTed
Thank you, now it works! But one question: I haven't defined $post_id anywhere. So I guess this variable is always available when a post is edited? Also for pages, is it also $post_id? I haven't found anything in the Codex, maybe there is a more general term for it?
Jun
2
comment Two Wordpress installations: One in root and one in sub directory - no images in subdir installation
@s_ha_dum That was actually a typo, sorry! I would love to provide the real URLs as it would make life much easier, but I am afraid its not possible.
Jun
2
comment Two Wordpress installations: One in root and one in sub directory - no images in subdir installation
@s_ha_dum Well in the root of my server I have an installation. Also in the root is a folder "blog" with another installation. Both installations use different databases. In the control panel of my host I just routed the subdomain "blog.mydomain.com" to the folder "blog".
Jun
2
comment Two Wordpress installations: One in root and one in sub directory - no images in subdir installation
Hey, I made an edit to my post, maybe you can take a look at it? I don't think it has anything to do with permissions anymore.
Jun
2
comment Two Wordpress installations: One in root and one in sub directory - no images in subdir installation
@s_ha_dum Ok I think the problem is a different one, please see my edit.
Feb
21
comment Bloginfo hook - can it be more precise?
Ah ok cool, now I understand it. Thank you very much!
Feb
19
comment Bloginfo hook - can it be more precise?
Sorry to bother you again, but I can't find it in that file, although I think I know what you mean. Is it that function at line 405? core.trac.wordpress.org/browser/tags/3.5.1/wp-includes/… I just want to really understand how this works, because for example I can't hook that function into home_url or site_urlbecause I don't know the parameters.
Feb
19
comment Bloginfo hook - can it be more precise?
Super cool thank you! Do you have a link where this is documented? In the Codex page for bloginfo $show is mentioned and in the page for add_filter the integer is mentioned, but how do I know exactly which int targets what property?
Jan
8
comment Next Page & Previous Page links - skipping a single page - how?
Thank you! I fixed the problem, $post->ID wasn't working. Now everything is fine!
Jan
8
comment Next Page & Previous Page links - skipping a single page - how?
Thanks for your reply! That script doesn't display a "previous" link for me and it jumps straight to the last page when clicked on "next". I believe the weak point of that script is that part: $prevID = $pages[$current-1]; $nextID = $pages[$current+1]; because the IDs aren't always consecutive.
Jul
24
comment jQuery in Wordpress - Why is it not working?
Alright, thank you! I've also removed it and now it's working. Do you have any resources why it's considered bad practice?
Jul
23
comment Image resize depending on orientation?
Wow, it works great. Thanks!
Jul
23
comment Image resize depending on orientation?
Yes, thank you. I was also really impressed that nobody had asked anything like that.