WordPress Nice Video Posts Documentation

Installation

Basic Usage

Setting Front-end Navigation

Configuring Nice Video Posts

Configuring Nice Video Posts Details

Plugin Options

Nice Video Post List Shortcode

 

Installation

Important

Nice Video Posts requires that the Nice YouTube plugin or Nice YouTube Lite plugin is installed in order to operate correctly. Please download and install one of those plugins before proceeding.

  1. First install the Nice YouTube plugin or Nice YouTube Lite plugin
  2. Log in and navigate to WP-Admin>>Plugins
  3. Click the "Add New" button next to the Plugins title.
  4. Click the "Upload" link on the Install Plugin page.
  5. Click the "Choose File" button.
  6. Locate and select the Nice Video Posts .zip file on your local computer
  7. Click the Ok button on the pop-up window.
  8. Click the install button on the Install Plugin page.
  9. Activate the plugin through the 'Plugins' menu in WordPress.
  10. That's it! You're all ready to start showing off your videos!!

Alternative installation

  1. First install the Nice YouTube plugin or Nice YouTube Lite plugin
  2. Unzip the Nice Video Posts plugin download file
  3. Upload the entire niceVideoPosts folder to your wp-content/plugins/ directory.
  4. Activate the plugin through the 'Plugins' menu in WordPress.
  5. That's it! You're all ready to start posting your videos!!

^top

 

Basic Usage

Usage is simple. It is very similar to creating regular WordPress posts.

 

Creating a Nice Video Post

  1. In the wp-admin, click on the Video Posts menu item.
  2. Click into the sub-menu item labeled "Video Types."
  3. Create a new default Video Type (video types are like categories).
  4. Now click on Video Posts in the main admin side bar menu.
  5. Click "Add New" to create a new video post and open the Nice Video Post editor.
  6. Enter a title for your video post and optionally a description.
  7. Enter the your video's YouTube video id in the Video Id field. You can find the video idea in the YouTube URL just after the "v=" and before the next & symbol. Example: http://www.youtube.com/watch?v=UXtjrb0WBhc&feature=c4-overview&list=UUBZ78mpRCvVKkAtsGPP8Z5w Note, in our example UXtjrb0WBhc is the YouTube video id.
  8. Optionally enter the video author's name in the Video By field.
  9. Assign a video type to your video post.
  10. Save your changes. You've just created your first video post!

^top

 

Setting Front-end Navigation

  1. Go to Appearance>>Menu and create a new menu item that points to your Video Type. All new video posts assigned to this Video Type will now be listed at this menu link location.
  2. Go to the front-end of the site, click your new video type menu link and check out your new video post!
  3. That's pretty much all there is to it! So, get out there and start posting your videos!

^top

 

Configuring Nice Video Posts

Nice Video Post comes with a number of options that provide flexibility and easy costomization. To customize the plugin's configuration do the following.

  1. Go to wp-admin>>Plugins>>Editor
  2. On the right hand upper portion of the Editor page you will see a drop down menu. Choose Nice Video Posts and click the Select button.
  3. niceVideoPosts.php will appear in the Editor window.
  4. Scroll down a bit and find the configuration settings of for the script. Alter the settings to match your project's requirements. The setting section will look similar to the following.

{codecitation class="brush:php;wrap-lines:false;" width="550px" }

/* Settings Notes:
* - When using grid view, set the width for the .nicevideoposts-grid-wrap CSS style
* (/niceVideoPosts/css/style.css) to match the width of the
* niceVideoPosts_archive_thumbnail_width setting.
*/

$niceVideoPosts_post_video_width                    = 640; // Width in pixels of the post page video, enter an integer.
$niceVideoPosts_archive_show_header                 = false; // Show the header, valid values = true or false.
$niceVideoPosts_archive_show_header_title           = "Video Posts"; // Header title, enter title text.
$niceVideoPosts_archive_posts_per_page              = 12; // Number of posts to show on archive page, enter an integer.
$niceVideoPosts_archive_thumbnail_width             = 356; // Width in pixels of the archive page thumbnails, enter an integer.
$niceVideoPosts_archive_layout                      = "list"; // Defines archive page layout, valid values = grid or list.
$niceVideoPosts_archive_list_excerpt_length_value   = 42; // Defines archive page excerpt for list layout, enter an integer.
$niceVideoPosts_archive_grid_excerpt_length_value   = 0; // Defines archive page excerpt for grid layout, enter an integer. Set to 0 for no excerpt.
$niceVideoPosts_archive_grid_show_post_title        = true; // Show post title for grid view, enter true or false.

{/codecitation}

Make sure to save your changes when you are finished. This may require that you make the script writeable.

^top

 

Configuration Setting Details

$niceVideoPosts_post_video_width

Set the width in pixels of the video that appear on post pages.

$niceVideoPosts_archive_show_header

Enable or disable the display of the archive page header information. Valid entries are true or false.

$niceVideoPosts_archive_show_header_title

Set the archive page header title text.

$niceVideoPosts_archive_posts_per_page

Set the amount of video posts to be displayed on an archive page.

$niceVideoPosts_archive_thumbnail_width

Set the width in pixels of the video thumbnail that appear on archive pages.

$niceVideoPosts_archive_layout

Enter which archive layout you want to use. Your options are list or grid view.

$niceVideoPosts_archive_list_excerpt_length_value

Set the number of allowed characters per post description excerpt on the archive page, when using the list layout.

$niceVideoPosts_archive_grid_excerpt_length_value

Set the number of allowed characters per post description excerpt on the archive page, when using the grid layout.

$niceVideoPosts_archive_grid_show_post_title

Enable or disable the display of the post title on the archaive page, when using grid view. Valid inputs are true or false.

IMPORTANT

In addition to the Nice Video Posts' settings above, all global settings for the Nice YouTube plugin or Nice YouTube Lite plugin will be applied. With this combination, you can more fully customize your visitor's video viewing experience. So, don't forget to adjust the Nice YouTube plugin settings as well.

^top

 

Nice Video Post List Shortcode

Nice Video Posts additionally offers a very basic shortcode. This shortcode can be used to display the very latest video posts within other content, such as other posts or pages. Usage is very basic. simply enter the shortcode below.

[nice-video-list]

 

~ Enjoy!!