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

Question: how to enable comments in my posts? #55

Open
semente opened this issue Feb 11, 2014 · 3 comments
Open

Question: how to enable comments in my posts? #55

semente opened this issue Feb 11, 2014 · 3 comments
Milestone

Comments

@semente
Copy link

semente commented Feb 11, 2014

All my posts made by using python-wordpress-xmlrpc library have their comments disabled. How can I enable it? WordPressPost class has the attribute comment_status, but is not documented what arguments it can receive.

Thanks!

@maxcutler
Copy link
Owner

You want to use a string with the value "open" or "closed".

Also, an example in the unit tests: https://github.com/maxcutler/python-wordpress-xmlrpc/blob/master/tests/test_posts.py#L43

@maxcutler
Copy link
Owner

I'll add some documentation for this in the next release.

@maxcutler maxcutler added this to the Version 2.3 milestone Feb 12, 2014
@semente
Copy link
Author

semente commented Feb 12, 2014

Thanks!

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

2 participants