Reputation
243
Top tag
Next privilege 250 Rep.
View close votes
Badges
1 6 16
Impact
~31k people reached

Mar
15
accepted Shortcode attribute “title” doesn't appear in $atts array
Mar
15
answered Shortcode attribute “title” doesn't appear in $atts array
Mar
6
accepted Roles for Custom Post Types
Mar
6
comment Shortcode attribute “title” doesn't appear in $atts array
I found another interesting thing. If I use [bhours show_title="true"], the show_title attribute doesn't appear. if I misspell "title" like this: [bhours show_ttitle="true"], then the attribute show_ttitle` appears. There is something strange happening whenever I use the word "title" in an attribute--it seems like it's ignored every time for some reason. I don't understand it.
Mar
6
comment Roles for Custom Post Types
So far, I've only needed the first loop.
Feb
15
comment Roles for Custom Post Types
ok, I put your code in my functions.php file just to test it out. I had to change the add_action command to add_action('admin_menu', 'hide_menus'); Worked like a charm. The while loop for "hiding admin menus again" doesn't seem like it would be necessary. Have you encountered a situation where it was needed?
Feb
15
comment Roles for Custom Post Types
Would be more practical to specify access while registering the post type? The custom post types are created in some custom plugins I built.
Feb
13
revised Roles for Custom Post Types
added 56 characters in body
Feb
13
asked Roles for Custom Post Types
Feb
1
awarded  Excavator
Feb
1
revised Adding custom text in items titles from wp_nav_menu()
code correction
Feb
1
comment Adding custom text in items titles from wp_nav_menu()
The line remove_filter( 'wp_setup_nav_menu_item', 'remove_my_setup__function' ); should be remove_filter( 'wp_setup_nav_menu_item', 'my_item_setup' ); instead. Otherwise, a very good example.
Feb
1
suggested approved edit on Adding custom text in items titles from wp_nav_menu()
Jan
25
accepted Disable sticky option for specific categories
Jan
23
answered Disable sticky option for specific categories
Jan
23
comment Disable sticky option for specific categories
Nothing, that's the problem. I keep getting pages of irrelevant search results.
Jan
22
asked Disable sticky option for specific categories
Oct
5
accepted Multiple orderby values in WP_Query
Sep
20
answered Multiple orderby values in WP_Query
Sep
20
asked Multiple orderby values in WP_Query