Tom J Nowell

United Kingdom

tomjn.com

Age: 27

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

2d
awarded Nice Answer
2d
awarded Caucus
2d
comment Chromeless Chrome Web Apps
@evolutionxbox if that's an answer you should post it as an answer not a comment!
2d
comment Can't login/edit on 3 wordpress sites from a particular Windows PC
We can't help you with machine specific browser issues, you'll need to be more specific, and give us WordPress specific information at the server end. Look at your servers PHP error logs, and find something concrete other than "it doesnt work" or "it fails", otherwise Windows != WordPress
Feb
1
awarded Famous Question
Feb
1
awarded Caucus
Jan
31
comment Parse error: syntax error, unexpected end of file in functions.php on line 487
I'd also recommend against PHP closing tags at the end of a file
Jan
31
comment Parse error: syntax error, unexpected end of file in functions.php on line 487
Inconsistent indenting combined with long if statements and a lack of new lines makes this difficult to find the closing tag. I'd also recommend you look up when and how to use wp_reset_query, and what it does. Your usage of it implies you don't understand the purpose of functions such as the_post or setup_postdata, or the evils of query_posts
Jan
31
comment Is it possible to make grandchild themes?
I don't know, that's a limitation of how the storefront theme has been built, at that point you're forced to fork the child theme
Jan
26
revised Missing Argument
added 218 characters in body
Jan
26
comment Missing Argument
My code wasn't a copy paste solution, it requires that you have a basic understanding of PHP. Look at your add_filter call, you only give it 2 arguments, you need to provide a priority and how many arguments your function will accept. Your function accepts 2 arguments, $thumbnail, and $atts, but you haven't told WordPress this
Jan
26
answered Missing Argument
Jan
26
answered JS Support Ticket - Auto create WP account
Jan
25
comment How can I remove the "Visual Composer" menu entry in wp-admin
Mark asks because 3rd party plugins are off topic here, but I believe this is on topic as the problem is how to remove an admin menu in code, that the menu is added by visual composer is simply coincidence. As a side note, I'd recommend against using visual composer, but that's another subject
Jan
25
comment Creating shortcodes in plugin
Your shortcode code won't run, you'll need another piece of code that handles the form processing, that new code will not be in your shortcode
Jan
22
comment Change "You are now logged out" text
keep in mind adding things to the gettext filter has performance implications
Jan
21
awarded Yearling
Jan
21
awarded Yearling
Jan
20
awarded Yearling
Jan
19
comment Difference between a theme and a plugin?
A possible interpretation of the above is that themes define pages, but individual blocks and templates are created using plugins. This is incorrect as it implies that plugins == template partials, or that plugins are widget templates, which is not true. Can you edit the answer to make it clearer that plugins are for logic and themes are for markup/visuals?
1 2 3 4 5