13,846 reputation
21344
bio website tomjn.com
location United Kingdom
age 25
visits member for 3 years, 7 months
seen 1 hour ago

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 ).


10h
comment Best code to add Open Graph tags to Facebook
You haven't specified what the tags are and how WordPress knowledge is required. Simply asking for tags and not expanding on which tags, what you've tried, why those didn't work, isn't going to get you an answer
1d
comment Pagination not working for custom author page
Your query mentions nothing about the specifying the current author, therefore your results don't either
1d
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
1d
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
Apr
17
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
Apr
17
reviewed Reviewed how to return the wordpress path to the new site
Apr
17
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?
Apr
17
reviewed No Action Needed Is there a way to have custom post type and page with the same slug?
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
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?
Apr
15
comment Navigation color bar not repeating
stackoverflow may be more appropriate, though as I said, I cant reproduce your issue
Apr
15
comment Same date post in one box
I'm not sure what you're asking, are you asking to show the date in a box on the frontend? Showing it in a box is a html/css question, maybe you mean how do I display a date in a template?