296 reputation
216
bio website about.me/henrywright
location United Kingdom
age
visits member for 1 year, 9 months
seen 7 hours ago

I am a WordPress fan and general geek.


7h
comment Delete Post From front Page ( With Wp-admin restriction )
@shanebp done! Thanks to sven for the feedback.
7h
revised Delete Post From front Page ( With Wp-admin restriction )
Made change suggested in answer's comments
Jul
14
comment How to get the custom header image's alt text?
One slight modification I'd make to your function is the use of get_custom_header()->attachment_id to get the static header attachment ID instead of $data = get_theme_mod( 'header_image_data' ). Your function then works perfectly.
Jul
2
awarded  Curious
Jun
28
accepted How to get the slug of the homepage when editing it in WP admin?
Jun
28
comment How to get the slug of the homepage when editing it in WP admin?
@vancoder on 3rd thoughts, I think it does actually apply to the edit screen as well.
Jun
27
comment How to get the slug of the homepage when editing it in WP admin?
@vancoder on 2nd thoughts, I think you might be right
Jun
27
comment How to get the slug of the homepage when editing it in WP admin?
I think it applies to the edit screen as well.
Jun
27
asked How to get the slug of the homepage when editing it in WP admin?
Jun
27
awarded  Nice Question
Jun
26
accepted How to get the custom header image's alt text?
Jun
26
comment How to get the custom header image's alt text?
My thoughts exactly regarding get_custom_header()->alt. Thanks to @TheDeadMedic for the solution.
Jun
26
asked How to get the custom header image's alt text?
Jun
19
comment Adding theme support for a custom header image
Why would I use wp-head-callback over admin-head-callback or admin-preview-callback? What's the difference?
Jun
19
comment Adding theme support for a custom header image
Hi @Nilambar - thanks, I am aware of how callbacks work. I should have asked what is the point of having these callbacks? What should these callbacks actually do?
Jun
19
asked Adding theme support for a custom header image
Jun
19
comment Uploading files using the Settings API
Thanks for the idea
Jun
18
asked Uploading files using the Settings API
Jun
13
comment Undefined index notice when using the $args parameter in add_settings_field()
Ah, that might be the problem. I haven't defined $settings. Where and how should I define it?
Jun
13
asked Undefined index notice when using the $args parameter in add_settings_field()