Custom Post Settings
-
Hello,
Besides the title and the content, I want to import data from a particular element “category” from the Atom entries of a third-party feed.
The data is, from elements like this,
<category label=”my_label_value” my_attribute=”my_attribute_value” />
, my_attribute_valueTo do so I go to Posts & Links > Custom Post Settings > and add a Key and a Value like the following:
Key:
my_keyValue
$(category[@label=’my_label_value’]/@my_attribute)Then I press “save changes”, and import new feed elements.
Does this make sense?
I expect then to get a new field named “my_key” for each imported entry with that my_attribute_value as value, but that does no happen. What am I doing wrong?
Thank you !
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Custom Post Settings’ is closed to new replies.