Hi, the code for the gallery is in wpadverts/includes/gallery.php file, however if you are planning to use it with some other post type outside WPAdverts i am afraid you will not be able to do so, at least not without modifying original source code.
Hi Greg,
Thanks for supporting me.
all the code i found in that file?
because i want to add gallery & preview also with edit gallery with preview.
i think you are using some js function also.i want to know that file name also.
i now some coding i will try to manage that.
if i will not solve that i will take help from you.
thanks a lot for helping me i salute you sir.
Tc thanks
Hi Greg,
can you give me the code of gallery images add & preview & edit images & preview?
i have to add that code into by gallery for upload images?
can you help me?
kindly give me the code or the files name…
i will thank full to you if you can do this..
All the code required to load the gallery is in the gallery.php either directly in the file or the file is including it.
The gallery is using some JavaScript files, they are included using wp_enqueue_script() on lines 65 to 67.
Also, note the Gallery code is designed to handle only the WPAdverts attachments if you would like to use for some other custom post types then it might not be possible at all or at least not without some advanced custom programming, but i am afraid this would be beyond the support offered here, sorry.
ok thanks…
you are great….i will try & inform you…