345 reputation
17
bio website linux-nuts.blogspot.com
location Sofia, Bulgaria
age 28
visits member for 4 years, 7 months
seen 23 hours ago
Still a kid.

Apr
24
comment Are there any downsides to installing WordPress on Windows versus Linux?
You are absolutely right, but I can't call execution of a PHP script interaction with the operating system in a way that matters much to a WordPress user. Nevertheless, I've suffered a lot with a Windows web-server setup running WordPress and am happy working on Linux, still I'm pretty sure anyone familiar enough with any of the two OS would be able to bring good performance and security for a WordPress on the server level.
Jan
18
comment JSON API not showing full content
get_query_var('json') should be changed to get_query_var('json_route'), as otherwise it won't work any more!
Jan
17
comment How can I translate a plugin's text?
Did you try what I added as update to my answer? Plugin name and text domain are independent, as in the plugin you can define just any text domain for the plugin. See activitysub_textdomain() function in bp-activity-subscription.php of the plugin.
Jan
15
comment How can I translate a plugin's text?
Hey, Jon, checkout the edit in my initial answer, it must be the solution you are looking for!
Jan
15
comment How can I translate a plugin's text?
Let us continue this discussion in chat.
Jan
15
revised How can I translate a plugin's text?
How to do it without a plugin
Jan
15
comment How can I translate a plugin's text?
I'm now testing the whole thing and will write again shortly. Yes, you are correct about editing in the plugin dir. I was just saying that plugin-dir/languages/bp-ass-en_US.mo is the expected name of the file, not that it's okay to be kept there in the long run. Anyways, brb.
Jan
15
comment How can I translate a plugin's text?
plugin-dir/languages/bp-ass-en_US.mo - this is the expected name and location of the translation, as I test it on my environment. This doesn't mean that this won't work if moved to wp-content/languages too.
Jan
15
comment How can I translate a plugin's text?
Those plugins are not a thing you will keep all the time, but tools just like poedit that you probably use for compiling .mo. Each plugin defines where WordPress should look for it's .mo that should look like textdomain-xx_XX.mo. As you got some problem with that, which is plugin-specific, I suggest you try a tool that will point you out your plugin's right languages folder AND will point out if there is a problem with the plugin. I hate having useless plugins too, but those two help a lot while translating strings :)
Jan
15
comment How can I translate a plugin's text?
I'm not sure that wp-content/languages overrides your plugin-specific language folder, but it's the place where WordPress will be looking for a .mo file if there is a lookup for a string of a text domain that can't be found in it's plugin language folder. Codestyling Localization Preserver is a nice addon to Codestyling Localization that copies your po and mo files to your wp-content/languages folder just to protect them from being lost after a plugin/theme update. I recommend using these two, instead of dealing with translations manually ;)
Jan
15
comment Create an additional template page for every term taxonomy
taxonomy-schools.php should be working for all terms under the Schools taxonomy. Only custom templates like taxonomy-schools-highschool.php will skip the usage of the general School taxonomy template.
Jan
15
answered Create an additional template page for every term taxonomy
Jan
15
answered How can I translate a plugin's text?
Jan
9
answered A very basic question - how to properly use wp_mail() in a plugin
Dec
30
comment Primery Menu Configuration problem
I can't really find a specific reason for theme_location to break items_wrap effect. I guess looking in the code will give you an answer to this...
Dec
30
comment Primery Menu Configuration problem
If you are asking why my suggestions didn't work at first - because I didn't test it directly with your code, but a minimal combination of the three parameters (menu_class, menu_id and items_wrap).
Dec
29
comment Override a theme function in a child theme?
Do you make the check of "if function exists" in your child theme, or this is a check in the parent theme?
Dec
29
comment Primery Menu Configuration problem
Using your code on a random theme it works when I remove "theme_location" parameter. If you need to specify your menu, use "menu" => "Main Header Menu" instead, where the value is the label of the menu, defined in register_nav_menus (usually in functions.php of your theme). Please let me know if this works for you, and if not, I'll upload some sample theme in github or somewhere else for you to see and test.
Dec
28
comment upload_async.php returns 500 error
That's why I'm suggesting you get those constants in wp-config.php, because then you'll get all errors and notifications in a log file in wp-content folder. Otherwise not all messages will be outputed in the browser, even if everything is fine with the hosting and the php.ini settings. I'm writing all these just as a followup advice for when other case like this happens, I'm glad that you managed to cope with the problem anyways :)
Dec
28
comment Primery Menu Configuration problem
Okay, I did according updates in the answer - you need to define these, if you want them in the ul: 'menu_class' and 'menu_id'