The PFun theme is designed to work under WordPress environment. Before we jump to the theme presentation we would like to provide some resources intended for users who are new to wordpress but it may also be useful for the more experienced users.

WordPress presentation

WordPress Codex information

  • Installation – WordPress is easy to install
  • Pages vs. posts – Understand the differences between posts and pages
  • Posts – The articles/posts represent the content
  • Manage categories – Structure your content using categories
  • Tags – Group posts which have similar content
  • Pages – They have multiple usage from homepage to contact, from blog page to presentation pages, etc.

WordPress Video tutorials

Other resources

  • WordPress version: 4.5+
  • PHP version 5.6 or greater
  • MySQL version 5.6 or greater OR MariaDB version 10.0 or greaterWe recommend Apache or Nginx as the most robust and featureful server for running WordPress, but any server that supports PHP and MySQL will do.
  • Recommended plugins: WordPress Social Login (This plugin is required if you want to enable the social login on your site.)

Not required, but recommended for better security

Hosting is more secure when PHP applications, like WordPress, are run using your account’s username instead of the server’s default shared username. Ask your potential host what steps they take to ensure the security of your account.

hostgator-snappy-logo_defaultWe recommend Hostgator as your site host provider. In fact the demo site is running on Hostgator shared hosting baby Plan.

Install via WordPress

Step 1 – Navigate to Appearance > Themes

Step 2 – Click Install Themes and click the Upload button.

Step 3 – Browse to find the Pviral.zip file on your computer and click Install Now

Step 4 – Activate the newly installed theme by going to Appearance > Themes and clicking the Activate button.

Install via FTP

Step 1 – Log into your FTP client to access your host web server

Step 2 – Browse to find the Pfun.zip file on your computer and unzip it.

Step 3 – Upload the folder Pfun to wp-content/themes/ folder

Step 4 – Activate the newly installed theme by going to Appearance > Themes and clicking the Activate button.

pfun-general-settingsMain Layout

Pfun has 2 layouts predefined: full width and right sidebar. You can override this general settings on individual post by select a sidebar for the specific post.

Who can vote on posts

If login is required to vote, the vote data is stored in the user meta. All users can only vote once on the same post;

If all users can vote, vote data from visitors are saved in browser cookie, this means if the visitor clear the cache or after the cookie expires (7 days for this theme), he/she can vote again on the same post.

Form Security

Enable this option on selected forms and a security answer should be filled correctly before submitting the forms. You can custom the question and answer per your need.

security-qa

You are suggested to make it as simple as possible to avoid users’ frustration.

Default Image

Pfun uses a custom function to display the post image, either featured image or any image inserted to that post. If no image is found, the default image is  used.

pfun-performance-settings

Pagination Type

Pfun supports 3 types of pagination: default numeric pagination, auto infinite scroll and load more button.

default-pagination

Default Numeric Pagination

load-more-button

Ajax Load More

Post Meta

Enable or disable the option to display post meta (Author, Post Date, Tags, Categories, etc) on homepage and archive pages(Category, Tag, etc).

post-meta-info

pfun-post-settingsPost Meta

Enable or disable the option to display post meta (Author, Post Date, Tags, Categories, etc) on single page.

Featured Image

If your site’s content mainly come from submissions, you should enable this option to show the featured image.

Author Box

The author box contains the author information like name, description, profile image, along with the interactive buttons including Follow button, Send Message button.
pfun-authorbox

You should really enable it especially if your site is a multi-author site.

User Profile Page

Pfun comes with a User Profile page template so first you should add a new page and assign the template to it. Then you can select the profile page using this option.

Default Avatar

Not everyone uses Gravatar for their profile image, so Pfun created its own avatar system to let users upload their custom avatar in the Profile settings page. And this default avatar is for those who don’t upload one image yet.

pfun-avatar-upload

pfun-frontend-post-settings
This section let you configure the settings for Frontend Submit feature.

First you should add a new page and select the Submit Post page template, then you can play with these options.

Who can submit post

Select who can submit post from frontend.

Default Author

Assign the submitted post to this user if post is submitted by a non-logged in visitor.

Post Submission Status

Choose whether you want the submission published immediately or need to be reviewed by admin.

Upcoming Page
Select the page containing the upcoming posts. Create your Upcoming page first and choose the Upcoming Posts page template.

Votes Threshold before Publishing
All pending posts will be in the Upcoming queue. Set the votes required before it goes live. This is only applicable for pending posts.

Submit page

Select the page having the submit form. Creat your submit page first and choose the Submit Post page template.

Images count

Enter the maximum number of images allowed for each submission. Default: 3.

If the user uploads more than 2 images to a post, after the post is published, a custom gallery function is called to display the images with fancy lightbox effect.

Pfun connects with Facebook in 2 section: Comment and Login/Register(WordPress Social Login  plugin is required)

In single post, if you allow comment, you should see the comment section with default comment form and Facebook comment form tabs.

pfun-comments

You’ll need to provide Facebook API ID and API Secret to enable Facebook connect.

Application id and secret (also sometimes referred as Consumer key and secret or Client id and secret) are what we call an application credentials. This application will link your websiteto Facebook API and these credentials are needed in order for Facebook users to access your website.
These credentials may also differ in format, name and content depending on the social network.

To enable authentication with this provider and to register a new Facebook API Application, follow the steps :

    1.  First go to: https://developers.facebook.com/apps
    2. Select Add a New App from the Apps menu.

facebook-create-app

    1. Choose Wesbite in the popup window.

facebook-create-app-1

    1. Fill out App Name, Contact Email, choose a category and click Create App ID.

facebook-create-app-2

    1. Enter in the new screen your site URL in Site URL fields. They should match with your site domain.

facebook-create-app-3

    1. Go back to the homepage of https://developers.facebook.com/apps and choose the APP you just created. Then you should see the APP ID and API Secret.

facebook-create-app-4

  1. Copy and past the created application credentials (APP ID and Secret) into the option fields in theme Customizer.

pfun-site-identity

This section allows you to configure the common site identify settings including Logo, Site title, Site tagline and Site icon (aka. favicon).

They are all native WordPress core features.

There are several color options to let you make your site beautiful and charming.

Below is the visualized screenshot to help you understand what it means for each option.

pfun-colors

You can create unlimited sidebars with Pfun. To create a sidebar, either in Appearance > Widgets or Appearance > Custom Sidebars.

When creating a sidebar, you should provide a unique Name and a description.

add-new-sidebar-box

For each single post and page, you can assign a sidebar in editor screen by selecting the sidebar name. This will override the global settings you set in Customize > General Settings > Main Layout.

select-sidebar-single-post