| 3 | | - blog: [http://make.wordpress.org/docs/tag/devhub/ make.wordpress.org/docs/tag/devhub/] |
| 4 | | |
| 5 | | - weekly chat: Tuesdays, 1500 UTC, # wordpress-sfd |
| 6 | | |
| 7 | | - trac issues: [http://meta.trac.wordpress.org/query?status=!closed&component=developer.wordpress.org component=developer.wordpress.org] |
| 8 | | |
| 9 | | === Reference Site Development Setup === |
| 10 | | |
| 11 | | - theme |
| 12 | | - install from GitHub: [https://github.com/Rarst/wporg-developer] |
| 13 | | - header & footer |
| 14 | | - download files (these are HTML output, not actual PHP code) |
| 15 | | - http://wordpress.org/header.php |
| 16 | | - http://wordpress.org/footer.php |
| 17 | | - define `WPORGPATH` constant, pointing to their location in filesystem |
| 18 | | - add `wp_head()` and `wp_footer()` calls to them (so that theme files don't have to be edited) |
| 19 | | - [https://github.com/rmccue/WP-Parser WP-Parser] (install from Git into plugins directory and set up with Composer) |
| 20 | | - `git clone https://github.com/rmccue/WP-Parser` |
| 21 | | - `composer install --no-dev` |
| 22 | | - [http://wp-cli.org/ wp-cli] (install to use `funcref` command, provided by WP-Parser) |
| 23 | | - on Windows: `composer create-project wp-cli/wp-cli` |
| 24 | | |
| 25 | | === Indexing Instructions === |
| 26 | | |
| 27 | | 1. Enable WP-Parser plugin through admin or via `wp plugin activate WP-Parser` (directory name case-sensitive) |
| 28 | | 2. Run indexing command, example `wp funcref generate-and-import . --user=1` |
| 29 | | - `.` stands for current directory, adjust to point to wherever you have WordPress core |
| 30 | | - `--user=1` is needed to attribute posts, `1` is typical for initial admin account, adjust to user ID or login if needed |
| 31 | | 3. '''Disable WP-Parser''' plugin, through admin or via `wp plugin deactivate WP-Parser`. This is '''important''', since site fails to function correctly with it running. |
| | 3 | Content moved to handbook at http://make.wordpress.org/docs/handbook/projects/devhub/ |