63 reputation
9
bio website
location Chisinau
age
visits member for 1 year, 9 months
seen Nov 15 '13 at 1:15

Jan
25
comment How can i count the images that are atacht to NextGEN Gallery
Note i use custom field to add galley Custom field : poze I tried this : <?php global $wpdb; $gallery = get_post_meta($post->ID, 'poze', true); $images = intval( $wpdb->get_var("SELECT COUNT(*) FROM $wpdb->nggpictures WHERE galleryid = {$gallery->ID}") ); ?> <?php echo ($images); ?> when i print_r it retrive me the code UP it retrive me this .. 0Array ( [0] => Array ( [ngg_id] => 14 [ngg_form] => gallery ) ) 1) when i use that code
Jan
24
revised How can i count the images that are atacht to NextGEN Gallery
added 339 characters in body
Jan
24
comment How can i count the images that are atacht to NextGEN Gallery
hy bransofilo, i am not so good with php, i found that in search.. "SELECT COUNT(*) FROM $wpdb->nggpictures" it count me all the pictures from all the gallery's. I want to integgrate somhow the Custom Field ... the custom field is the ID of the Gallery
Jan
24
asked How can i count the images that are atacht to NextGEN Gallery
Jan
22
accepted How can i get the actor birthday by date?
Jan
20
comment How can i get the actor birthday by date?
the date is store like this...yymmdd .. anny help? This format will determin the value saved to the database and returned via the API "yymmdd" is the most versatile save format.
Jan
19
asked How can i get the actor birthday by date?
Jan
19
comment Getting post by specific date in Advance Custom Field
thanks milo, i undestand now
Jan
19
accepted Getting post by specific date in Advance Custom Field
Jan
16
comment Getting post by specific date in Advance Custom Field
please look now
Jan
16
revised Getting post by specific date in Advance Custom Field
added 12 characters in body
Jan
16
asked Getting post by specific date in Advance Custom Field
Jan
14
revised How can i count post from my post type taxonomy
added 518 characters in body
Jan
10
accepted How to get movies by date
Jan
10
comment How can i count post from my post type taxonomy
nope, is not retriving...
Jan
10
asked How can i count post from my post type taxonomy
Jan
6
comment How can i count the post added in relationship field, theme display
hy milo can you tell me how to retrive the count for the tags... Ex: the articles for that movie...
Jan
6
revised How can i count the post added in relationship field, theme display
added 1368 characters in body
Jan
6
comment How can i count the post added in relationship field, theme display
thanks it works ...
Jan
6
accepted How can i count the post added in relationship field, theme display