Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Command line tool for WordPress

Project Description

wpadmin is a Python module for managing WordPress installations from the command line. Inspiration comes from both django-admin.py and WP-CLI.

Installing

$ pip install wpadmin

Usage

From the root of your WordPress project (directory containing wp-load.php):

$ wpadmin starttheme [--classic] my-theme-name

The starttheme command will create the following directory structure within the wp-contents/themes/ directory:

- my-theme-name
  - templates/
    - base.twig
  - static/
    - css/
    - images/
    - js/
  - 404.php
  - functions.php
  - index.php
  - README.md
  - style.css

The above structure assumes you will be using the Twig template engine via the Timber plugin. The starttheme command with the --classic option will create the following directory structure within the wp-contents/themes/ directory:

- my-theme-name
  - css/
  - images/
  - js/
  - 404.php
  - functions.php
  - index.php
  - README.md
  - style.css

To create a plugin skeleton:

$ wpadmin startplugin my-plugin-name

The startplugin command will create the following directory structure within the wp-contents/plugins/ directory:

- my-plugin-name
  - my-plugin.name.php
  - README.md
Release History

Release History

This version
History Node

0.1.0

History Node

0.0.1

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
wpadmin-0.1.0-py2.7.egg (5.7 kB) Copy SHA256 Checksum SHA256 2.7 Egg Jun 15, 2014
wpadmin-0.1.0.win32-py2.7.exe (239.3 kB) Copy SHA256 Checksum SHA256 any Windows Installer Jun 15, 2014
wpadmin-0.1.0.zip (6.7 kB) Copy SHA256 Checksum SHA256 Source Jun 15, 2014

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting