248 reputation
211
bio website
location Budapest, Hungary
age
visits member for 3 years, 2 months
seen Jul 24 at 13:39

May
17
revised Use post object from first query in second query
deleted 2 characters in body
May
17
comment load custom fields on click
Thanks @Alex, yes, I did something very similar although not that sophisticated. I'm in a middle of something right now and later today I your code a go.
May
17
comment Use post object from first query in second query
Thanks. Although echoing the ID within the second loop prints the correct ID, the list item doesn't get the desired class. Even if I just try to use your first snippet for testing, it doesn't work. Also if I try to use post__not_in with $current with the second query, the post gets listed as if nothing happened, however seeing the resulting array with print_r the exluded ID is clearly shown...
May
17
asked Use post object from first query in second query
Dec
11
comment Get all images from posts with maximum number and without featured image
@Bainternet I played around your code and and it seems to be working now. I cannot answer my own question so I copied the working snippet to my question.
Dec
11
revised Get all images from posts with maximum number and without featured image
added 1060 characters in body
Dec
11
comment Get all images from posts with maximum number and without featured image
Thanks but, still no luck: maximum execution time exceeded in... query.php on line 1924
Dec
11
comment Get all images from posts with maximum number and without featured image
Ok. I got the code working and it seems that t31os saw the problem with the it: I'm getting the same image 10x.
Dec
8
comment Get all images from posts with maximum number and without featured image
It'not working. Maximum execution time of 30 seconds exceeded in../wp-includes/query.php on line 1924
Dec
7
comment Get all images from posts with maximum number and without featured image
pastebin.com/GGW9V7Ua
Dec
7
comment Get all images from posts with maximum number and without featured image
With the following code I'm getting: Fatal error: Maximum execution time of 30 seconds exceeded in...
Dec
7
comment Get all images from posts with maximum number and without featured image
Like this: pastebin.com/VYBxytvL ?
Dec
7
comment Get all images from posts with maximum number and without featured image
Updated my Q with the code I'm trying to tweak, as you can see, it echos every every single post attachments including post-thumbnails.
Dec
7
revised Get all images from posts with maximum number and without featured image
added 753 characters in body
Dec
7
asked Get all images from posts with maximum number and without featured image
Dec
6
comment Gel all image from certain post type
Correction: post thumbnails are not excluded.
Dec
2
comment Gel all image from certain post type
Thanks. It's not just working, but it seems to exclude post thumbnails as well. Great.
Dec
2
accepted Gel all image from certain post type
Dec
2
asked Gel all image from certain post type
Nov
5
revised load custom fields on click
added 305 characters in body