| bio | website | stephenharris.info |
|---|---|---|
| location | Edinburgh, United Kingdom | |
| age | 25 | |
| visits | member for | 1 year, 7 months |
| seen | 1 hour ago | |
| stats | profile views | 1,008 |
Mathematics PhD student at the University of Edinburgh with a (geeky) passion for anything coding related.
I develop WordPress plugins, including the event management plugin, Event Organiser. I also write for Wptuts+
|
4h |
comment |
Save custom value to main content of post This will create another post, not update an existing one. You could use wp_update_post() on the save_post hook, but beware the infinite loop: codex.wordpress.org/Plugin_API/Action_Reference/… |
|
May 17 |
answered | WP Login forms action URLs displayed as pretty URLs in browser (ex with Restore Password) |
|
May 3 |
awarded | Nice Answer |
|
Apr 18 |
reviewed | Approve suggested edit on Exclude current sticky post |
|
Apr 16 |
reviewed | Approve suggested edit on Exclude page by title for non admins |
|
Apr 16 |
reviewed | Approve suggested edit on Hook to be used when creating a database table |
|
Apr 16 |
reviewed | Approve suggested edit on wp_enqueue_scripts hangs |
|
Apr 14 |
comment |
Automatically determine minimum WordPress version required for a plugin? Unfortunately its also 'per file' - so no uploading of an entire plug-in. But still a very useful resource - great find! |
|
Apr 14 |
revised |
When does next Cron Job run (time from now)? added 492 characters in body |
|
Apr 4 |
reviewed | Approve suggested edit on About: Jigoshop - change the order in which products show up in a grid |
|
Apr 3 |
awarded | Revival |
|
Mar 27 |
revised |
What is the best way to achieve unique Member functionality? edited tags |
|
Mar 16 |
answered | WP_Query or get_posts? |
|
Mar 14 |
revised |
Exclude main blog from get_blogs_of_user Get main blog ID from BLOG_ID_CURRENT_SITE constant (is there a better way?) |
|
Mar 14 |
reviewed | Leave Open “add from media library” tab is super slow |
|
Mar 13 |
comment |
Change slug with custom field Won't this cause an infinite loop? |
|
Mar 7 |
comment |
How do you create an archive for a custom post type from a plugin? +1 but you don't need to store an option - just check the template WordPress has chosen in the filter. More generally template_include can be used. (See github.com/stephenharris/Event-Organiser/blob/1.7.3/includes/… ) |
|
Mar 5 |
awarded | Guru |
|
Mar 2 |
accepted | restore_current_blog() vs switch_to_blog() |
|
Mar 2 |
comment |
restore_current_blog() vs switch_to_blog() Thought there wasn't any reason not to. Was confused why restore_current_blog() didn't just retrive the previous blog ID and call switch_to_blog() - a brief look at the code source and it seems there's a bit of code duplication... |