Tom J Nowell

United Kingdom

tomjn.com

Age: 26

I’m a VIP Wrangler at Automattic, a former Code For The People developer, a speaker at conferences, and an elected community moderator at WordPress Stack Exchange.

I also blog about WordPress and PHP at http://tomjn.com

1d
awarded Good Question
Jan
29
comment Difference between "far" and "far away"
I can see things near***,*** and far
Jan
28
awarded Sheriff
Jan
27
awarded Revival
Jan
27
comment Embed google alerts rss feed into WordPress site
Questions should be answerable, keep in mind you should be able to mark an answer as 'correct'. You could ask how to create a widget sidebar in another question, or how to display a single feed in a template
Jan
26
comment Popular post 'of the week'
So you actually want to know how to list the X posts that were most commented in the last week? It can be done but it will be an expensive query, and it is not trivial
Jan
25
comment Popular post 'of the week'
Also how are you tracking popularity? What makes a post popular, page views?
Jan
25
comment Popular post 'of the week'
I don't understand how your widget works currently, it's just listing posts, it doesn't involve popularity at all. Also there is unformatted code, can you edit your post and make sure all code is interpreted as code so it's clearer?
Jan
23
comment Login Individual
This question seems exceptionally broad, can you edit your question to be more specific and add what you've done so far?
Jan
22
comment Possibility of creating a folder in the wordpress root install and installing a file there, all via plugin?
Your AJAX endpoint is a major security hole, even if your plugin is disabled, someone can still send requests to it and make changes. You should use the WP AJAX API instead, at which point your problem completely dissapears
Jan
22
answered Trying to create an edit page link?
Jan
22
comment Session is not starting
Of note some hosts advise PHP sessions are unreliable, e.g. using PHP sessions on WP Engine can lead to problems ( such as users sharing sessions that shouldn't etc ). Perhaps you'd be better off using cookies and user meta
Jan
22
comment How to create another widgets.php page
You can also register new sidebars using the Widgets API
Jan
22
comment Reset a site in multisite
Plugin recommendations are off topic here, though answers that don't recommend plugins are possible and would be interesting ( such plugins do exist for single sites, I wouldn't know if they work with multisites )
Jan
22
comment Geo location query inside wp_query?
I don't think this is possible with WP_Query as is, you'd need to insert custom calculation logic into the SQL query. You might be able to add a new query variable, then add some code to intercept the sql query and add some custom logic to it, I'm not sure how you'd do that though. It might help if you provided the SQL for calculating distance
Jan
21
awarded Yearling
Jan
21
awarded Yearling
Jan
18
comment Execute shortcode twice in the same page
stackoverflow.com/questions/829407/…
Jan
17
comment Can wordpress differentiate between added and updated posts?
you could post that as the answer
Jan
16
revised add_action reference a class
added 243 characters in body
1 2 3 4 5