70,214 reputation
10100226
bio website wpkrauts.com
location Halle (Saale), Germany
age 41
visits member for 4 years, 11 months
seen 1 min ago

I work for nzz.at. Previously the lead developer for MultilingualPress.

Meet me on GitHub, Google Plus or WPKrauts.


1d
comment Current user in plugin returns NULL
@mousesports See my update for an example. Never just create classes when your plugin file is loaded. This always too early. Usually you want to check the request first to exclude your code from slowing down other plugins AJAX requests or WP's comment/XML RPC/feed processing.
2d
comment How do I update the styles.css to underline the link if the mouse hovers over it?
a:hover { text-decoration: underline; }. But this is really not WordPress specific. :) See developer.mozilla.org/en-US/docs/Web/CSS/%3Ahover for more information.
Jul
4
comment Restrict custom post type to only site administrator role
@darrinb Thanks, I have added that to my answer.
Jul
4
comment What Modifications Can I Make to a Paid Theme to make it Mine?
I'm closing this question as off-topic because it is about a legal problem. The answer is not about development and might differ depending on the country of the asker and the original theme creator.
Jul
4
comment how to send email with image attachment?
Please explain your problem properly. See How to Ask.
Jul
3
comment Wordpress C# User Login
We don't know what metroTextBox2 is and does, so we cannot answer that. You have to use the MD5 class somewhere.
Jul
2
comment Display wordpress admin bar outside wordpress in Magento?
Please add an explanation to your answer: why could that solve the problem?
Jul
2
comment Youtube Iframe Api play one video at a time
A shortcode has to return a string, it must not create output immediately. Maybe your shortcode callback is printing its content too early in the source code. Fix the callback function, and if the issue still exists, update your question.
Jul
2
comment Youtube Iframe Api play one video at a time
Please read wordpress.stackexchange.com/questions/73082/….
Jul
1
comment restore_current_blog() vs switch_to_blog()
@JacobRaccuia Nope, just don't create global variables. Then you can use every name you want.
Jul
1
comment Multisite read_more link displays URL twice
Look at the source: the URLs in the code are probably just without protocol. The problem is either the theme or a plugin. MultilingualPress doesn't touch the read more link.
Jun
29
comment passing variables inside a widget add_action
Yes, since PHP 5.4.0. You really shouldn't run a site on such an old version, it doesn't even get security updates! Use 5.6.
Jun
29
comment passing variables inside a widget add_action
@AhmedSaad Well, then separate it earlier. See my update.
Jun
28
comment Display a fallback image when a specific metabox is empty
What happens when you remove the exclamation mark in front of empty?
Jun
28
comment Custom slug in front of search URL
Then refix it! :)
Jun
28
comment Slide video or gallery in post
Please make sure your question doesn't rely on an external resource. And show us what you have tried already, do not ask us to do all the work for you.
Jun
27
comment Which hook runs first(init,… or ???)
Really? You are asking essentially the same question twice after you got such excellent answers the last time?
Jun
27
comment Outputting complete custom comment form
No, the post has been flagged as Low Quality, and I accepted the flag. The system casts a downvote automatically in this case. Once you've explained your solution you will probably get upvotes.
Jun
27
comment Best way to build a 500 item menu
Are all entries a complete set of these items, or do you actually need some manual tweaks?
Jun
26
comment Jquery function working in Dev Console but not otherwise
Have you read the question about undefined $?