wordpresslib | Started by Michele Ferretti | Content Management System library
kandi X-RAY | wordpresslib Summary
kandi X-RAY | wordpresslib Summary
️ This library is not maintained anymore. A simple python library for WordPress (XML-RPC interface).
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Edit a post .
- Creates a new post .
- Create a media object from a media file .
- returns a post object
- Add a new custom field .
- Return a string representation of the exception .
wordpresslib Key Features
wordpresslib Examples and Code Snippets
Community Discussions
Trending Discussions on wordpresslib
QUESTION
There's not much in the documentation of this old Wordpresslib module on how to post to a specific category. Looking through the code of the module itself shows lots of category related classes in it.
('World' is a category already set on the WP site I'm posting to.)
I've tried these below but everytime the category of the post on WP is "Uncategorized"...
ANSWER
Answered 2017-Mar-28 at 16:48The categories are already set on your WP site as numbers.
Post to them like this when using the Wordpresslib module...
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install wordpresslib
You can use wordpresslib like any standard Python library. You will need to make sure that you have a development environment consisting of a Python distribution including header files, a compiler, pip, and git installed. Make sure that your pip, setuptools, and wheel are up to date. When using pip it is generally recommended to install packages in a virtual environment to avoid changes to the system.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page