814 reputation
511
bio website
location on the move
age
visits member for 3 years, 1 month
seen Aug 18 at 15:20

let's give back to the community


Jul
26
awarded  Yearling
Jun
12
revised get_pages() not ordering as it should
fixed the return value of sorting function
Jun
12
suggested approved edit on get_pages() not ordering as it should
Apr
28
comment Disable emojicons introduced with WP 4.2
there's a couple of them already ( which this is a copy ) wordpress.org/plugins/classic-smilies wordpress.org/plugins/disable-emojis
Apr
23
comment Query for distance OR taxonomy term
any luck so far?
Apr
23
comment Get all the posts where meta field with multiple choice has several values checked
nice insight. in the case above, you could use %aa% to get xxaabb. you should write your own answer too below ;)
Apr
21
comment Query for distance OR taxonomy term
well, we don't have the numbers to compare, but you're trying to turn 2 very simple queries into one that isn't. remember that you hit the cache with get_posts
Apr
21
comment Get all the posts where meta field with multiple choice has several values checked
glad i could help! :D
Apr
21
comment Query for distance OR taxonomy term
why don't you use get_posts() directly to build the other set of posts? i assume they're distinct domains.
Apr
21
answered Get all the posts where meta field with multiple choice has several values checked
Apr
20
comment PHP inside echo HTML?
you're right! i forgot the double quotes.. :/ it was closing the style attributes.
Apr
20
revised PHP inside echo HTML?
deleted 3 characters in body
Apr
19
answered Advanced Custom Fields: Conditional Statement with Select
Apr
19
comment PHP inside echo HTML?
to the frontend, it is probably checking for the example.com/assets/.. when you're on the homepage. open the devtools and see the path. I've tried the code above and i got the right path. A link to your site would help debugging.
Apr
19
comment Advanced Custom Fields: Conditional Statement with Select
:D you're welcome!
Apr
19
comment PHP inside echo HTML?
@Dandy, try using get_stylesheet_directory_uri() instead
Apr
19
revised PHP inside echo HTML?
proper function
Apr
19
comment Advanced Custom Fields: Conditional Statement with Select
in case you didn't see the edit, you its capital I instead of i
Apr
19
comment Advanced Custom Fields: Conditional Statement with Select
on the good track then! well, thats it then: == "Image"
Apr
19
comment Advanced Custom Fields: Conditional Statement with Select
did you try to echo get_sub_field('asset_type') to see whats returning? are you using repeater fields? otherwise, don't you want to use get_field() instead?