Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tool to export, problems with attached files #739

Closed
luizaraujoofficial opened this issue Jan 7, 2016 · 1 comment
Closed

Tool to export, problems with attached files #739

luizaraujoofficial opened this issue Jan 7, 2016 · 1 comment

Comments

@luizaraujoofficial
Copy link

Hello I have a problem when using the tool to export and import my post type that has the metabox.

when using metabox the xml file that the tools / export creates is as follows.

WRONG
<wp: postmeta>
<wp: meta_key> <! [CDATA [nfe_issued_mb_pdf_file]]> </ wp: meta_key>
<wp: meta_value> <! [CDATA [11]]> </ wp: meta_value>
</ wp: postmeta>

as would be the right meta_volue have the way of attachment as below.

<wp: postmeta>
<wp: meta_key> <! [CDATA [_wp_attached_file]]> </ wp: meta_key>
<wp: meta_value> <! [CDATA [2015/12 / CODE-OF-THE-ENVIRONMENT-IPI.pdf]]> </ wp: meta_value>
</ wp: postmeta>

ie to import the xml it does not indicate to me the attached file via metabox

Somebody help me, please?

@luizaraujoofficial luizaraujoofficial changed the title TTool to export, problems with attached files Tool to export, problems with attached files Jan 7, 2016
@funkatron82
Copy link
Contributor

The meta for media fields stores the id of the files, not the files themselves

@rilwis rilwis closed this as completed Feb 26, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants