683 reputation
626
bio website traveling9to5.com
location Everywhere
age 28
visits member for 3 years, 8 months
seen Apr 14 at 15:34

Heading around-the-world in 2012!

Follow my travels at Traveling 9 to 5

I also do custom web development and design.


Nov
27
comment Possible to add a language file to a plugin without adding .po/.mo files to plugin directory?
Ended up doing it your way by removing the action, as I couldn't get the mofile filter to work with BuddyPress.
Nov
14
comment Possible to add a language file to a plugin without adding .po/.mo files to plugin directory?
What about still using the load_textdomain_mofile filter within a separate plugin?
Nov
14
comment Possible to add a language file to a plugin without adding .po/.mo files to plugin directory?
Ah, great point, thanks for that. I'll have to adjust how I do it for BuddyPress as well.
Nov
14
comment Possible to add a language file to a plugin without adding .po/.mo files to plugin directory?
This worked great and was easy to add.
Nov
14
comment Possible to add a language file to a plugin without adding .po/.mo files to plugin directory?
I like this approach but since I'm already dropping files into wp-content/languages I want to keep in consistent and have all the .po files in there.
Nov
6
comment Possible to add a language file to a plugin without adding .po/.mo files to plugin directory?
It's fairly trivial to merge the new translations into an existing .po file using PoEdit.
Sep
18
comment What is a “protected” post status?
Thanks! That's exactly what I was looking for.
Sep
18
comment What is a “protected” post status?
I think it's unrelated to password protected posts. The 'protected' argument is used in register_post_status. It's related to a post status, not an individual post. If that were true, then I would think that all 'future', 'draft' and 'pending' posts would all be password protected.
Aug
7
comment How do I show sticky posts on a static front page that also contains content?
Make sure to also add a wp_reset_postdata(); after your if statement to reset the $post global to the main query.
May
13
comment How do I remove the admin bar (styling) from frontend only?
This doesn't remove the CSS margin-top: 28px !important from the front-end though?
Feb
2
comment Is it possible to change the log file location for WP_DEBUG_LOG?
This works well if you can put the code in a plugin or theme, thanks!
Feb
2
comment Is it possible to change the log file location for WP_DEBUG_LOG?
I was able to get this to work by adding it into a mu-plugin. Is there anyway for me to just make this change within wp-config? I'm assuming I'd just have to set WP_DEBUG_LOG to false and replace what it does myself?
Feb
2
comment Is it possible to change the log file location for WP_DEBUG_LOG?
I tried adding this to my wp-config.php file and it doesn't work. Is that because wp-config.php is maybe loaded earlier than the actual place in the code where WP_DEBUG_LOG is used to define the log file?
Feb
1
comment Is it possible to change the log file location for WP_DEBUG_LOG?
So I would need to turn off WP_DEBUG_LOG in order to make sure that the debug.log file is never created in my wp-content directory?
May
26
comment Best practice for versioning wp-config.php?
Even if it's a private repo, I wouldn't want the passwords stored in it, and would want the flexibility to make the repo public if I desired. The production-config.php is probably a good way to go.
May
26
comment Best practice for versioning wp-config.php?
I like this approach, I'll probably end up doing something like this.
May
26
comment Best practice for versioning wp-config.php?
It does seem like some extra work, but I can see the benefits in ensuring that all the wp-config settings are in sync between environments.
Apr
4
comment Version Control: Entire site or just pieces?
So is there a way I can have an entire site under git, yet have WP core checked out with svn, and then all my themes and plugins as git submodules?
Apr
4
comment Version Control: Entire site or just pieces?
What about for things like wp-config.php? Mark Jaquith has talked about having everything under version control
Mar
10
comment Static front page with recent posts pagination
Thanks toscho, I was able to get it working.