Reputation
218
Next privilege 250 Rep.
View close votes
Badges
2 15
Newest
 Revival
Impact
~13k people reached

Jan
21
comment Query to sort a list by meta key first (if it exists), and show remaining posts without meta key ordered by title
@RyanTaylor same here - meta_key must not be set in the query for this to work, but it does appear to order correctly by meta value even when meta key is not set.
Jan
9
awarded  Revival
Sep
2
awarded  Notable Question
Aug
26
comment ACF repeater field usage
@rudtek sounds like to need to inspect $eventspeaker before looping through it, to see what it actually contains. Try using print_r and var_dump to find out, this should tell you how to use what it returns. If it's full of nonsense then you may have an issue with the setup of, or data stored by, the ACF field.
Aug
20
revised ACF repeater field usage
added 79 characters in body
Aug
20
comment ACF repeater field usage
@rudtek sorry but I'm not sure what you mean. Can you post a sample of the output of the print_r call? also a print_r of $speakers.
Aug
19
comment ACF repeater field usage
@rudtek you should be able to figure out what the issue is by using var_dump($speaker); and print_r($speaker); inside the foreach loop to figure out what the item is and what properties it has. You can then figure out how to get various values.
Aug
18
awarded  Yearling
Aug
18
revised ACF repeater field usage
fixed incorrect code / assumption
Aug
18
answered ACF repeater field usage
Jan
26
comment How does wordpress name resized image copies?
I actually ended up doing as suggested and connecting to the database to get a list of guids. It's the only way to go really, although having tested the regex approach it worked fine unless someone uploaded pic-100x100.jpg.
Jan
21
comment How does wordpress name resized image copies?
thanks for confirming that - you are right about it being imperfect to base my regex on. And yes in this instance searching the wordpress DB would be a big PITA but for a correct result then it's worth it. Thanks for the thoughtful comments.
Jan
21
accepted How does wordpress name resized image copies?
Jan
21
asked How does wordpress name resized image copies?
Dec
15
answered post_row_actions for custom post type
Nov
16
awarded  Teacher
Oct
7
revised Gallery Shortcode: using link attribute to link to a specific image size
added code blocks
Oct
7
comment Gallery Shortcode: using link attribute to link to a specific image size
+1. even 3 years later, and after the recent gallery revamps, this is still an issue - especially if you use a lightbox in conjunction with the wordpress gallery. there needs to be a size option here to stop users having to download 4 meg images to view in a 800x600 lightbox...
Oct
7
suggested approved edit on Gallery Shortcode: using link attribute to link to a specific image size
Sep
24
awarded  Autobiographer