Reputation
797
Top tag
Next privilege 1,000 Rep.
See votes, expandable usercard
Badges
5 18
Impact
~53k people reached

  • 0 posts edited
  • 0 helpful flags
  • 40 votes cast
Oct
28
comment How do I make a theme “plugin-ready”?
My strategy was to make it kind of brainless and consistent so that one doesn't have to keep thinking up custom events all over the place. Note that my strategy provides a consistent way to handle POST, GET, reaction to $_SERVER variables and get_option() settings strings, and also a consistent way to handle pre and post content display. Now, granted, once this is done, however, if one wants to take it to the next level and add even more custom events as you suggest above, then yes, that's probably going to help, where warranted.
Oct
28
comment How do I make a theme “plugin-ready”?
Sounds like @userabuser's discussion needs to be taken up with meta.
Oct
28
awarded  Yearling
Oct
28
asked How do I make a theme “plugin-ready”?
Oct
28
answered How do I make a theme “plugin-ready”?
Oct
26
comment How Do I Programmatically Better Organize Custom Post Type Menus?
Yeah, I can't always trust generators to be on the web, so I need to just build my own PHP script that replicates this. Plus, it's pretty easy to use the add_menu_page() function to create the "Management" menu instead of using the Admin Menu Editor.
Oct
25
comment How Do I Programmatically Better Organize Custom Post Type Menus?
I used this handy generator to create a Custom Post Type, and then I installed the free Admin Menu Editor plugin and created a custom menu called "Management" with slug/hook as "mgmt". Next, all I had to do in my auto-generated custom post type code was add the line 'show_in_menu' => 'mgmt', and sure enough -- she works! Thanks so much!
Oct
25
accepted How Do I Programmatically Better Organize Custom Post Type Menus?
Oct
25
asked How Do I Programmatically Better Organize Custom Post Type Menus?
Oct
8
accepted How do I add a favicon that only shows during viewing of my plugin's admin panel?
Oct
7
comment How do I add a favicon that only shows during viewing of my plugin's admin panel?
I couldn't get this to work. Do you have an example? Also, are you sure this isn't deprecated in 3.4 with a better solution?
Oct
7
comment How do I add a favicon that only shows during viewing of my plugin's admin panel?
I just ran a test -- it does it to ALL admin pages, not just the ones for my plugin.
Oct
7
asked How do I add a favicon that only shows during viewing of my plugin's admin panel?
Sep
19
comment how do I filter single_cat_title to remove all instances of a particlular word
Related on this is that you can use wp_list_categories and pass it the 'echo=0' parameter. This lets you export into a string. You can then use PHP's str_replace() function on that string to replace what you want before you echo it back. This isn't exactly what you're looking for in your case, but is similar and may help others.
Sep
11
revised Intercepting Before W3 Total Cache
edited body
Sep
11
answered Intercepting Before W3 Total Cache
Jun
12
asked Intercepting Before W3 Total Cache
Jun
1
comment Which Versions of WordPress Ship with the Patched TimThumb?
Good to know about this other exploit.
Jun
1
comment Which Versions of WordPress Ship with the Patched TimThumb?
Thanks. I guess I got that confused.
Jun
1
accepted Which Versions of WordPress Ship with the Patched TimThumb?