Wordpress child theme for a reddit style newsboard for people in the advertising industry.
- Upvote parent theme required.
- Upvote only works with BuddyPress version 2.0.2 as of now.
- Footer menu must be named 'Footer.'
- The upvote_comment function in functions.php must be replaced with the one found in the txt file.
- Install Wordpress on your server.
- Install and activate the official BuddyPress plugin
- Unzip the theme files and upload them to /wp-content/themes/
- Go to Appearance > Themes and activate Upvote
- Go to Settings > General > Membership and check the “Anyone can register” box. Save your changes.
- Go to Settings > BuddyPress, and deselect all Components by unchecking them and clicking “Save Settings”.
- Go to Pages > Add New and name the new page “Forgot Password”. From the Template dropdown, choose the “Forgot Password” option. Click “Publish”.
- Add another new page and call it “Leaderboard”. Click “Publish”.
- Add another new page and call it “Login”. Click “Publish”.
- Add another new page and call it “Submit”. From the Template dropdown, choose the “Submit News” option. Click “Publish”.
- Go back to Pages > All Pages and click the “Activate” page. From the Parent dropdown, choose the “Login” option. Click “Update”.
- Go back to Pages > All Pages. Hover over “Register” and click “Trash”.
- Hover over “Members” and click “Trash”.
- Go to Settings > BuddyPress > Pages. From the “Members” dropdown, select “Leaderboard”. Click “Save”.
- For the “Register” dropdown, select “Login”. Click “Save”. Then click “Save Settings”.
- Go to Appearance > Theme Options. For the “Forgot Password Page” dropdown, select “Forgot Password” and click “Save Changes”.
- Go to Appearance > Menus. Remove all pages under “Menu Structure” except “Leaderboard” and “Submit”.
- From the sidebar on the left, click the “Links” option. For the URL, enter your root URL (e.g. http://upvotetheme.com/) and append ?order=new to it so that the URL looks like http://upvotetheme.com/?order=new. For the Link Text, enter “New”. Click “Add to menu”.
- Rearrange the menu order to your preference by dragging each menu item to the position you want (I prefer New, Submit, Leaderboard). Click “Create Menu”.
- Under Menu Settings, for “Theme locations” check the “Main Navigation” option. Click “Save Menu”.
- Go to your site’s public homepage. Click the “Submit” menu item. Enter a test post and submit it. You should now see your first post on the homepage!
- To hide the Buddypress toolbar for logged out users, go to Settings > BuddyPress > Settings, and uncheck the box for “Show the Toolbar for logged out users”. (Note: If you are using WP Super Cache, you may need to turn off caching to see the changes.
- To turn off comment moderation, go to Settings > Discussion > Before a comment appears, and uncheck the box for “Comment author must have a previously approved comment”. Click “Save Changes”.