7 reputation
3
bio website
location
age
visits member for 6 months
seen Jun 30 at 9:14

Jun
30
accepted get_intermediate_image_sizes() returning different values depending on is_admin()
Jun
30
answered get_intermediate_image_sizes() returning different values depending on is_admin()
Jun
27
awarded  Commentator
Jun
27
comment get_intermediate_image_sizes() returning different values depending on is_admin()
Hi, no, that was exactly the case. I couldn't get it to work at all in the front end. Found out that I had to use a "later hook" because WP wasn't ready with reading the additional sizes yet.
Jun
27
asked get_intermediate_image_sizes() returning different values depending on is_admin()
May
21
accepted Get the type of an advanced custom field (ACF) in a WP_Query loop
May
21
comment Get the type of an advanced custom field (ACF) in a WP_Query loop
Hi, this was almost a "copy into code window" solution. Thanks very much. Works a charm!
May
12
asked Get the type of an advanced custom field (ACF) in a WP_Query loop
May
3
revised setup_postdata in “loop-handling” php file called via $.ajax
deleted 750 characters in body
May
3
accepted setup_postdata in “loop-handling” php file called via $.ajax
May
3
answered setup_postdata in “loop-handling” php file called via $.ajax
Apr
30
comment setup_postdata in “loop-handling” php file called via $.ajax
No, but I'm not allowed to answer my own question.
Apr
30
revised setup_postdata in “loop-handling” php file called via $.ajax
added 744 characters in body
Apr
30
comment setup_postdata in “loop-handling” php file called via $.ajax
The code works exactly up to the line with the show_postdata command. I have checked this with a sample return value. When using this class without AJAX it also works (instantiated inside a template). You might be right, but the idea to have the right line just at the right place is also interesting ;-) the whole theme I have here is not using WP typical architecture so its difficult to find the "starting point" of refactoring...
Apr
30
comment setup_postdata in “loop-handling” php file called via $.ajax
I know. This is existing code i have to work with. Is there a way regardless the "wrong" approach?
Apr
30
asked setup_postdata in “loop-handling” php file called via $.ajax
Apr
30
accepted Custom/separate categories for custom post type
Apr
30
comment Custom/separate categories for custom post type
Gosh, I feel dumb. Thanks!!
Apr
29
asked Custom/separate categories for custom post type
Apr
22
comment get_post_custom: get image URL instead of image ID
Thanks rockaut, yes I do know the names of the fields. Would have loved to have them "translated" by default though. I think I can live with this though....