Hey Wesley,
Glad it’s finally sorted.
What code did you use in the end??
Stuart
Stuart,
I used the same code that sent me this below:
add_action(‘pmxi_gallery_image’, ‘my_gallery_image’, 10, 3);
function my_gallery_image($pid, $attid, $image_filepath){
add_post_meta( $pid, “REAL_HOMES_gallery”, $attid, false );
}
Tks
Wesley
Hi Wesley,
I have the exact same issue with the Real Homes themes and WP ALL IMPORT plugin. I have tried everything you have mention above but nothing worked.
Can you please let me know the steps which I have to follow in order to solve this ?
Thanks
Marios
Hi Marios,
You have to insert the code below in functions.php and comma separate the images in the “Featured Image & Media Gallery”:
add_action (‘pmxi_gallery_image’, ‘my_gallery_image’, 10, 3);
my_gallery_image function ($ pid, $ AttId, $ image_filepath) {
add_post_meta ($ pid, “REAL_HOMES_property_images” $ AttId, false);
}
Only check if the field of picture slideshow is “REAL_HOMES_property_images” even. If not, replace this snippet by right.
Wesley
SOLVED !
Thank you very much for your help !
Marios
Hi,
I also have the Real Homes WordPress theme version 1.6.5 and the Latest WP All Import version 4.0.4
i still cant fix the problem. I pasted the last code you provided here:
add_action ('pmxi_gallery_image', 'my_gallery_image', 10, 3);
my_gallery_image function ($ pid, $ AttId, $ image_filepath) {
add_post_meta ($ pid, "REAL_HOMES_property_images" $ AttId, false);
}
(i fixed the typo error ex. $ pid, should be $pid, and( instead of and (
i pasted it on my functions.php file on the end line 2064 to 2068
now imported the xml applied the rule to the custom field “REAL_HOMES_property_images” let it import. I open the property list everything is correct except
the Property Gallery Images
only shows one empty box that’s it.
i need some help please.
Many Thanks
Hello Sols,
Your input the url of the images in the Featured Image & Media Gallery?
I put it this way:
{Fotos[1]/Foto[1]/URLArquivo[1]},{Fotos[1]/Foto[2]/URLArquivo[1]},{Fotos[1]/Foto[3]/URLArquivo[1]},{Fotos[1]/Foto[4]/URLArquivo[1]},{Fotos[1]/Foto[5]/URLArquivo[1]},{Fotos[1]/Foto[6]/URLArquivo[1]},{Fotos[1]/Foto[7]/URLArquivo[1]},{Fotos[1]/Foto[8]/URLArquivo[1]},{Fotos[1]/Foto[9]/URLArquivo[1]},{Fotos[1]/Foto[10]/URLArquivo[1]}
Note that the URLs are separated by commas.
let me know how you get on.
Wesley
Hi,
Thank you for replying so fast!
No i put the input like this:
[FOREACH({images/image})]{url[1]},[ENDFOREACH]
This works in the thumbnail previewer it shows al the images i putted the code on, but not for the custom field?
i do not understand the way you show this solution above?
do i have to import all the images first? i have like 3800+ images to upload my site.
Many Thanks in advance!
Hi,
@wesley.morales you stated in one post that you cleaned all the cached files of wp all import how did you do that other then in settings i have like 15 import id, maybe that is why it is not recognizing it changes?
Many thanks
Hi,
I finally got it working, but now i have a little problem it attached a dummy image before all the other images, it also shows up on the listing page with an empty image. i have attached a screenshot so you know what i mean.
http://prntscr.com/5da6az
did you have the same problem?
Many Thanks!
Hi @sols, How did you get it working? I currently have the Real Homes theme. Are you using the REAL_HOMES_property_images field?
we paid 900 DOLLAR for programmer, if you wanne pay?
we can send the modification and where to put in
greatings
Michael , Germany
ata.po@yandex.com
I’m using WP ALL EXPORT + REALHOMES THEME and I’m not able to catch full image path when I select “REAL_HOMES_property_images” field.
I tried to use this function by Stuart, making some modification, but even though the result is:
<REAL_HOMES_property_images><![CDATA[6837]]></REAL_HOMES_property_images>
What I really need is something like:
<REAL_HOMES_property_images><![CDATA[http://localhost:8090/wp-content/uploads/2013/03/IMG_3225.jpg]]></REAL_HOMES_property_images>
I have even posted a topic in Stackoverflow but I got no answer yet.
Can someone help me?