Stephen Harris

Edinburgh, United Kingdom

stephenharris.info

Age: 27

I develop WordPress plugins, including the event management plugin, Event Organiser. I also write for Wptuts+

I've recently submitted a PhD thesis in Mathematics at the University of Edinburgh and I am currently working for the Digital Directorate, specifically as developer with the Glow blogs team.

Github | Twitter

Jun
25
comment How do I mock get_adjacent_post for testing
Although interesting, this isn't a question specific to WordPress. (But see: marcelog.github.io/articles/…)
Jun
25
answered Is there a way to know the name of all variables passed by wp_localize_script?
Jun
25
comment Is there a way to know the name of all variables passed by wp_localize_script?
Why might you need to call wp_localize_script() more than once for a script? Is this because you might have multiple instances of a JavaScript 'widget' (for want of a better word), or because you have one instance, but not all data is available at once?
Jun
25
awarded Nice Answer
Jun
19
comment Focus an inline jQuery UI Datepicker for the keyboard shortcuts?
@Maulzal - please do, I'm having the same problem :).
Jun
11
awarded Custodian
Jun
11
reviewed No Action Needed Show Parent category and Subcategory
Jun
11
reviewed Reopen How to highlight recent page updates
Jun
11
revised Serialize data for wp options
WordPress handles serialisation with get_option() when passed an array.
Jun
3
comment Hide certain post types from editors
OK, your snippet appears to be attempting to remove a nonexistent admin submenu, In WordPress if a user can only edit a subset of posts they can still see the others. If that's sufficient I'd recommend looking into meta capability mapping: codex.wordpress.org/Function_Reference/map_meta_cap or a hook in current_user_can. Will try to furnish you with details unless you/someone posts an answer in the mean time.
Jun
3
reviewed Close Could a large quantity of files in the uploads folder affect performance?
Jun
3
reviewed Reviewed Hide certain post types from editors
Jun
3
comment Hide certain post types from editors
What do you mean by a 'series of posts'? What are you trying to hide?
Jun
3
answered Problem with add_rewrite_tag
Jun
3
reviewed No Action Needed Problem with add_rewrite_tag
Jun
3
reviewed Close The plugin has been used here?
Jun
2
reviewed Close Woo commerce Single Product Sidebar
May
20
awarded Enlightened
Apr
18
answered How to request admin-ajax.php correctly when wordpress URL and site URL are different?
Apr
17
reviewed Approve suggested edit on Theres a way to use $query->set('tax_query' in pre_get_posts filter?
1 2 3 4 5