Reputation
478
Next privilege 500 Rep.
Access review queues
Badges
2 9
Impact
~17k people reached

  • 0 posts edited
  • 0 helpful flags
  • 14 votes cast
Oct
6
comment How to get the URI to a theme without the domain. Example: /wp-content/themes/my-theme
Good point. I think I was stuck on URI from the original version of the question.
Oct
6
comment How to get the URI to a theme without the domain. Example: /wp-content/themes/my-theme
There you go, should be slightly faster without the regex.
Oct
6
revised How to get the URI to a theme without the domain. Example: /wp-content/themes/my-theme
Provided alternative to regex
Oct
6
comment How to get the URI to a theme without the domain. Example: /wp-content/themes/my-theme
get_stylesheet_directory() returns a file path, not a URI.
Oct
6
answered How to get the URI to a theme without the domain. Example: /wp-content/themes/my-theme
Oct
6
comment How to get the URI to a theme without the domain. Example: /wp-content/themes/my-theme
Gotcha. Your original post specifies with the scheme, which is what confused me.
Oct
6
comment How to get the URI to a theme without the domain. Example: /wp-content/themes/my-theme
Sorry, I don't quite understand what you're looking for. You want to return two strings, one of which is "http://" or "https://" and the other is "/wp-content/themes/my-theme"?
Jun
3
comment How to translate a plugin via .po .mo?
No longer exists.
Sep
24
awarded  Autobiographer
Feb
16
awarded  Popular Question
Jan
15
awarded  Caucus
Jun
4
awarded  Yearling
Jun
3
answered Creating relationships between multiple content types
Mar
7
comment How do you create an archive for a custom post type from a plugin?
I figured the constants were still kosher, as they're still used in locate_template as of 3.5.1.
Mar
7
answered How do you create an archive for a custom post type from a plugin?
Mar
7
answered Using preg_replace to clean widget output HTML
Sep
11
awarded  Yearling
Sep
11
answered Breadcrumbs - Exclude Child Categories
Aug
6
comment How Do I Protect My Premium WordPress App Theme from Copying?
That is simply untrue. All PHP that extends WordPress is either GPL or in violation of WordPress' own licence.
Jul
29
awarded  Commentator