I want to get all author and all customfield of wordpress with xmlrpc and add in comobox;
I do it with this code,
I use JoeBlogsV1 Library
WordPressWrapper w = new WordPressWrapper(textBox1.Text, textBox2.Text, textBox3.Text);
var author = w.GetAuthors();
for (int i = 0; i < author.Count; i++)
{
comboBox1.Items.Add(author[i].ToString());
}
but this return the AlexJamesBrown.JoeBlogs.Structs.Author
how to i can do it ?
Each author is in fact a
struct
with several fields:You can access the fields individually: