248 reputation
212
bio website
location Budapest, Hungary
age
visits member for 3 years, 5 months
seen yesterday

Nov
5
revised load custom fields on click
added 305 characters in body
Nov
5
awarded  Commentator
Nov
5
comment load custom fields on click
Thanks. I'm afraid I don't quite understand this part of the codex... Updating my question.
Nov
4
asked load custom fields on click
Sep
9
revised Create XML files on post edit screen
rewrote the function the_sub_field to the_sub_field_return
Sep
9
revised Create XML files on post edit screen
added updates
Sep
9
suggested approved edit on Create XML files on post edit screen
Sep
9
comment Create XML files on post edit screen
Thanks for helping me out Kaiser. I've found the solution and will edit your answer shortly. Thx.
Sep
9
awarded  Scholar
Sep
9
accepted Create XML files on post edit screen
Sep
9
comment Create XML files on post edit screen
Yeah, the field function echoes those lines. Does that mean, that 1. either calling the fields could only happen after foreach, 2. this plugin is simply cannot be used for something like this?
Sep
9
comment Create XML files on post edit screen
Well, yeah it could be, I'll look into its documentation. Would you like to see the field() function's code?
Sep
9
comment Create XML files on post edit screen
Thanks for the edit. Using your code, the XML tree is built, the datas from the fields are called - only their values are at the top of the page, while the XMl nodes under are empty.
Sep
9
comment Create XML files on post edit screen
Thx for still being around. I actually don't know how to see the edits of my paste. Created an account and pasted it again: http://pastebin.com/B6KTtuht I Found the same google tuto after started this conversation, I think I'm still trying to do it the hard way with WP.
Sep
9
comment Create XML files on post edit screen
I updated my original question with a snippet, pls have a look.
Sep
9
revised Create XML files on post edit screen
added 719 characters in body
Sep
8
comment Create XML files on post edit screen
Sorry Kaiser, guess my question was a bit reckless. I always edited KMLs in a text-editor, and honestly have know idea how to write xml files with php. At first I thought I just echo the values between the tags and that's it, apparently this is not that simple... I think the first step is to finish the page where I output the values and then somehow I convert that page to XML, would it be the correct way?
Sep
8
awarded  Editor
Sep
8
revised Create XML files on post edit screen
added 327 characters in body
Sep
8
comment Create XML files on post edit screen
link Sorry.