WordPress theme that adds category posting to P2
PHP JavaScript CSS
Latest commit d90051f Nov 4, 2016 @versluis committed on GitHub Update README.md
Permalink
Failed to load latest commit information.
i returned project from Child Theme to Fork again Oct 20, 2013
inc updated files to match P2 - Version 1.5.2 Nov 22, 2013
js updated files to match P2 - Version 1.5.2 Nov 22, 2013
languages updated files to match P2 - Version 1.5.2 Nov 22, 2013
.gitignore
404.php returned project from Child Theme to Fork again Oct 20, 2013
README.md
attachment.php returned project from Child Theme to Fork again Oct 20, 2013
author.php updated files to match P2 - Version 1.5.2 Nov 22, 2013
category.php added category archive file with category description Oct 8, 2013
comments.php returned project from Child Theme to Fork again Oct 20, 2013
entry.php updated readme and tweaked seperator to a comma Nov 22, 2013
footer.php added footer attribution, fixed undefined variable Oct 8, 2013
functions.php
header.php returned project from Child Theme to Fork again Oct 20, 2013
index.php
p2-readme.txt updated files to match P2 - Version 1.5.2 Nov 22, 2013
p2-style.css
page.php added Page Template - no more "Updates from xxx" on pages Nov 22, 2013
post-form.php clarified where P2 Categories starts as comments Nov 22, 2013
readme.txt updated readme and tweaked seperator to a comma Nov 22, 2013
rtl.css returned project from Child Theme to Fork again Oct 20, 2013
screenshot.png updated screenshot Oct 11, 2013
search.php returned project from Child Theme to Fork again Oct 20, 2013
sidebar.php returned project from Child Theme to Fork again Oct 20, 2013
single.php returned project from Child Theme to Fork again Oct 20, 2013
style-iphone.css returned project from Child Theme to Fork again Oct 20, 2013
style-print.css returned project from Child Theme to Fork again Oct 20, 2013
style.css added Page Template - no more "Updates from xxx" on pages Nov 22, 2013
tag.php returned project from Child Theme to Fork again Oct 20, 2013

README.md

P2 Categories

This is a Fork of Automattic's P2 Theme, with added support for posting into categories via a handy drop-down menu on the front page.

This project has evolved from an article I've written which explained how to bring back posting into categories. The full process is explained here: http://wpguru.co.uk/2013/10/how-to-add-drop-down-categories-to-automattics-p2-theme/

What served as a working example is now a fully working theme which is compatible with Automattic's wonderful P2 (which is sadly no longer in development).

I have included several community suggested bug fixes and improvements that have not yet made it into P2 Core.

Installation

This entire project is a WordPress Theme. Download and install just like any other theme, either by uploading this repo as a ZIP, or by searching for "p2" under Appearance - Themes - Install.

How does P2 Categories work, and how do I use it?

Simply write your post from the front page (as you do on P2), then select a category from the drop down menu and hit post.

The menu only shows existing categories, even empty ones. You cannot create new categories from the front page though. To do so, please use the admin interface and head over to Posts - Categories, then add a new category.

Known Issues

The category drop-down menu no longer works in Safari 10 on a Mac. Still works fine in Firefox and Microsoft Edge, and Safari 9. Thanks, Apple!

Further Reading

I've explained how these changes are made here: http://wpguru.co.uk/2013/10/how-to-add-drop-down-categories-to-automattics-p2-theme/

You can find a demo of the original P2 theme by Automattic here: http://p2theme.com

Check out my P2 User Guide at http://p2guide.wordpress.com

This theme is under review on WordPress.org: