624 reputation
39
bio website stomptheweb.co.uk
location Newcastle upon Tyne, United Kingdom
age 29
visits member for 1 year, 10 months
seen 5 hours ago

WordPress Developer in Newcastle, UK.


Sep
29
comment Is “Featured Content” in Twenty Fourteen done with a plugin, or is it native in WP4.0?
It's for the featured content in the Jetpack plugin. jetpack.me/support/featured-content
Sep
28
comment Custom Fields Question
Why don't you try it yourself? Then, if you can't get it working update your code. Also upvote the answer if you found it helpful.
Sep
27
comment Custom Fields Question
<?php echo get_post_meta( get_the_ID(), 'country', true ); ?>
Sep
6
comment Using pre_get_posts to filter out posts, pagination problem
You'll only have this information to you after the query has been performed. Therefore you'll probably have to do all of this on template_redirect
Sep
5
comment Archive query not working correctly
Could you use taxonomies instead - then you could make use of the Template Hierarchy and you wouldn't have to perform any custom queries.
Aug
31
comment wp_dropdown_pages doesn't work with post_type argument
Is your post type hierarchical?
Aug
27
comment Custom taxonomy - custom sortable column
How have you added the custom field?
Aug
22
comment I can't preview post's change once they are published
Do you have any caching on?
Jul
28
comment When I Use function wp_insert_term() function it gives me Invalid taxonomy object
Looks like a spelling mistake to me - are you sure review_texanomies is right?
Jul
7
comment How to prevent first post and first comment on WP MU?
Fixed it, thanks ;-)
Jul
4
comment How to get relative URL of medium sized featured image?
Would be good to know the reason you want to do this..
Jul
1
comment How to stop writing content twice on Wordpress using ajax?
What about people who don't have Javascript enabled?
May
21
comment Optimize CPT-function with a loop
Where is optimize() hooked on to?
May
19
comment Return a custom value in a function added to an action hook
What are you going to do based on if it's true or false? It might make sense to call another function, or continue the process depending on what happens? If not, you might have to store the data to be retrieved at a later time.
May
13
comment order event posts by multiple custom fields
This is bad design - the date should be stored in one field in a format that can easily compared such as Unix timestamp or YYYY/MM/DD - I would look to try and do that and your queries will be much simpler.
May
13
comment is_user_logged_in() not working in Firefox
Also, do you have caching installed on the site?
May
13
comment Redirect permalinks after creating custom post types
Please make sure you search for an answer before you ask a question - it's been answered on WPSE before - wordpress.stackexchange.com/questions/125886/…
May
12
comment SWF in wordpress post
What mobile device did you test it on? Apple's devices don't have Flash.
May
12
comment Update wordpress post terms programatically
As instructed above, can you edit your question to include your full code.
May
12
comment Update wordpress post terms programatically
Can you post your full code - for example, it's not clear here where the ID is set.