Fields data doesn’t appear on frontend
-
I have a problem while importing posts from a csv with custom fields made with this plugin
Basically, the data in the custom fields is correctly imported into the database, but the data doesn’t appear on the fronted of my posts.
I noticed that if I manually open the post and click “Update”, without changing anything inside the imported posts, then the fields data appears correctly in the frontend. The bulk edit doesn’t work though, it works only if I manually open and update each post.
After investigating in the database I noticed that under manually saved posts, a weird string seems to wrap my data in the Metabox custom fields. This kind of wrapping code is like this:
a:1:{i:0;s:224:"MY DATA";}
This string appears in the posts manually saved (which data appears correctly in the fronted) but it doesn’t appear under imported posts (which data doesn’t appear in the frontend).
The problem is, if I try to add this kind of wrapping code in the csv file that I import, it doesn’t work. This code is added inside the custom field and the frontend is still empty.
I have no idea if this is the reason for the fields not appearing on fronted when imported.
But I need your helping on figure this out. I need to import a hunge amount of posts with custom data (more than 10k posts) so I can’t manually update each post one by one.Please give me a solution to let these data appears on the frontend, I don’t care if you recommend me a plugin that mass updates all posts by adding these strings(tried a bunch of them with no success) or if you give me a solution to make the data appear directly in the frontend, I would just like a solution to this problem, thanks
- The topic ‘Fields data doesn’t appear on frontend’ is closed to new replies.