Tom J Nowell

United Kingdom

tomjn.com

Age: 25

I'm a fulltime WordPress Developer at Code For The People in the UK. I also build RTS AIs & attend WordPress/design conferences.

Any questions please say hello, I can normally be found in the WPSE chat ( link in the top header ).

4h
comment Pagination not working for custom author page
Your query mentions nothing about the specifying the current author, therefore your results don't either
6h
comment Best code to add Open Graph tags to Facebook
This could be genericised to how to add arbitrary tags in the html header from functions.php via a filter, making it facebook specific does you no favours
9h
comment Query posts: how to exclude results if post is in multiple categories
Don't use query_posts, there is no valid reason to use it when WP_Query and the pre_get_posts filter are available, or even get_posts
2d
comment How to *remove* a parent theme page template from a child theme?
A link offsite becomes useless if the link changes or gets taken down. This also makes no attempt to actually answer the question
2d
reviewed Reviewed how to return the wordpress path to the new site
2d
comment how to return the wordpress path to the new site
Are you saying you setup a multisite and now your blogs all have /blog/ on the front of their URLs, and you want to know how to undo this?
2d
reviewed No Action Needed Is there a way to have custom post type and page with the same slug?
Apr
16
awarded Autobiographer
Apr
16
awarded Supporter
Apr
16
comment Different Language for Frontend and Backend
I have code based on this, putting it in a themes functions.php isn't going to work as it's too late. I placed it in an mu-plugin and saw vastly improved results.
Apr
16
comment Order post type by sum of two custom fields
This would be the simplest most efficient method, it trades a minor amount of memory space in the mysql database for the speed of not having to do the calculation, and the convenience of not having to hack your way through WP_Query internals
Apr
16
answered Order post type by sum of two custom fields
Apr
16
comment Can I display the widget admin in the page admin?
Have you not tried plugins such as widget visibility? 1 sidebar, lots of widgets that display on certain conditions
Apr
16
reviewed Approve suggested edit on Wordpress function/template tag to get first n words of the content
Apr
16
revised Does an article (post) id ever change?
added 758 characters in body
Apr
16
revised Does an article (post) id ever change?
added 387 characters in body
Apr
16
answered Does an article (post) id ever change?
Apr
16
comment How to separate HTML and Wordpress files
Are you asking how to create MVC in WordPress? Or how to use a templating system in a theme? There should already be minimal code in your html templates, and I would be very worried if developers who didn't know basic PHP were playing with the html in a theme or plugin
Apr
16
comment Woocommerce login
This is the Meta site, not the main site, this site is for questions about the main site. The main site is for questions on WordPress Development. Although if you did post this on the main site it would still be offtopic, and you'd be directed to the woocommerce forums/support
Apr
15
comment Same date post in one box
I'm sorry but I don't understand what it is that you need to know that you don't already?
1 2 3 4 5