chrisguitarguy

Lexington, KY

christopherdavis.me

Age: 28

I work as a web developer for Enterprise clients and build web applications with PHP.

Connect

6h
awarded Autobiographer
Aug
7
reviewed Close Buddypress Registartion template
Jul
30
comment Multiple Loops on a Custom Homepage
Do pages exist with the slugs feature1 and feature2? It's generally not a good idea to hardcode slugs like that. Make an admin page (or piggy-back on another one), allow users to set which pages appeared on the home page.
Jul
2
awarded Curious
Jun
28
awarded custom-post-types
Jun
9
awarded Yearling
Jun
9
awarded Yearling
Jun
6
comment How can I allow people to 'subscribe' to categories?
Add /feed/ on the end of the category link. Like this.
Apr
28
answered Customizing Users in Admin Area
Apr
26
awarded Yearling
Apr
26
awarded Autobiographer
Apr
24
comment Checking that the Rewrite API is available
The best you can do is check that rewrites are setup on the application -- it's not your responsibility as a plugin/theme dev to worry about server configuration. If you manage an entire site, including hosting, for someone that's a different story.
Apr
24
answered Checking that the Rewrite API is available
Apr
18
comment Disable user profile editing for one user
Why not just revoke admin-area access to custom_role users? Don't give them the read capability in other words. Then provide them with an area on the front end where they can edit their account. plugins exist to do a lot of that work.
Apr
18
answered Object of class WP_Error could not be converted to string
Mar
22
awarded Supporter
Feb
20
awarded Popular Question
Feb
11
awarded Revival
Feb
10
comment hijacking home_url for root relative paths
WP_HOME is used other places than just in links to stylesheets and such -- namely permalinks. You can try it, it just might be a little weird. Specifying a protocol relative WP content URL is usually okay, however.
Feb
10
comment hijacking home_url for root relative paths
Look at how WP's is_ssl works, use a similar logic in wp-config.php.
1 2 3 4 5