Develop custom php in WP All Import to create image attachment in posts

I have exported data from an old site and now i use WP All Import Pro to import the data.

I have a problem on importing images.

- initially all images from the old site are uploaded to files in wp import files folder.

- when i run all the relevant images are loaded into the media library, but are not attached to posts except for the thumbnail.

WP all import gave me the following answer:

"In looking at this, images are being attached to the post. The issue is that the image references in the post content are still referencing the old site.

WP All Import does not currently update image references in the post content (though we plan to allow for this in the future), but in the meantime, it sounds like some custom PHP code would have to be used with our API: [url removed, login to view]

I would not have an example snippet for this case, unfortunately, and writing custom code is outside the scope of the support we offer."

End result:

- after including th custom php in wp all import all images will be attached to posts.

- documentation of changes must be includen

Taidot: PHP, WordPress

Näytä lisää: wp all import images, wp all import hooks, wp all import woocommerce, wp all import pro changelog, wp all import pro, wp all import free, wp all import template, wp all import forum, http www tubreveespacio com postales create php card_id 105, http www canoodle com find php tab all&page 8&sort default&format list&country rus&gender f&age_from 40&age_to 60&go find&with_p, http www 18schoolgirlz com index php siteid 8&ls 78&linkid 19396&trackerid 35963&v mobile, content downloads top php id 248&tag top&trade http www sexfilmed com, content downloads out php analytics 32and2and49408&url http www teenever com pics fm teens 9e947abafffcb0581833dc0f263befae inde, a href http www kayads com index php r spgo img src http www kayads com img banner2 png border 0 width 468 height 60 a, wp all import, http www freelancer com users messages index php thread 86555996, http www freelancer com users messages index php thread 86387202, http www bigmoneyptc com index php ref gwango, http www amazon com php programming development database programmer ebook dp b00yfp9qqk ref sr_1_8 s books&ie utf8&qid 143497830, http www amazon com php programming development database programmer ebook dp b00yfp9qqk ref sr18 s booksie utf8qid 143497830

Tietoa työnantajasta:
( 0 arvostelua ) Denmark

Projektin tunnus: #15716950

Myönnetty käyttäjälle:


Hi there, i have reviewed your requirement and would like to start the work immediately after your confirmation. Relevant Skills and Experience I have 7+ years of experience in website design and development, extensiv Lisää

$58 USD 3 päivässä
(37 Arvostelua)

3 freelanceria on tarjonnut keskimäärin %project_bid_stats_avg_sub_26% %project_currencyDetails_sign_sub_27% tähän työhön


Hello I am Ammar and I can design & develop high quality website to fulfill all of your requirements. Our developed & designed cross-browser website would be highly secure from HACKING and spamming. Relevant Skills a Lisää

$25 USD 3 päivässä
(293 arvostelua)

Hi i will just need an hour to fix this issue. I can fix the issue and without using the wp import as there would be many thing that would be pointing to old website. I can fix it via database :)

$20 USD 1 päivässä
(54 arvostelua)