556 reputation
421
bio website traveling9to5.com
location Everywhere
age 27
visits member for 2 years, 10 months
seen 6 hours ago
stats profile views 45

Heading around-the-world in 2012!

Follow my travels at Traveling 9 to 5

I also do custom web development and design.


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?
Jan
25
comment How to Upgrade and Deploy WordPress Install as a Git Submodule?
I'm not trying to download the tarballs, just checkout the release tag from github.
Jan
25
comment How to Upgrade and Deploy WordPress Install as a Git Submodule?
Yeah, I figured I'd give it a shot since maybe other WP devs do the same thing. I'll ask it over there.
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.
Mar
10
comment Static front page with recent posts pagination
Do I need to do the $temp = $wp_query replacements? Should I be using query_posts? I tried this with front-page.php and I can't get it to work. I can't just use index.php because the $recent_args in my code is the query I'm trying to use for the front page. Thanks.
Mar
10
comment Static front page with recent posts pagination
It turns out that the Jetpack stats module is the reason for it working when I'm logged in, but if I'm going about this the wrong way, please let me know.
Mar
10
comment Static front page with recent posts pagination
Yes, that's why I think I'm doing it wrong. I modeled it after the Showcase template from the twentyeleven theme. I didn't know how to redirect the home page to a page template to use the custom loops I wanted to use.
Mar
10
comment Posts archive index pagination in a static page custom query
Should the $wp_query = $temp; code go before or after the pagination code?
Jan
17
comment Notices when submitting custom post type from front-end
Thanks, however the extra comma isn't the issue. That is valid in a PHP array. I've figured it out, and will post back after I've given others a chance to answer.
Aug
30
comment Getting started with e-commerce sites on WordPress
any issues with learning PHP 6 while everything is still PHP 5?
Aug
26
comment Getting started with e-commerce sites on WordPress
Thanks! Looks like he also has a book "Effortless E-Commerce with PHP and MySQL".