/video-page-template-flexible

Wp plugin for flexible display video in a page template

Primary LanguagePHPGNU General Public License v2.0GPL-2.0

=== Video Page Template Display ===
Contributors: (this should be a list of wordpress.org userid's)
Donate link: http://the-two.co/
Tags: video, page templates
Requires at least: 4.7
Tested up to: 5.3.2
Stable tag: 1
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Registered Page Template for vimeo and youtube display via videos ID, with a lot of filters to hook.

== Description ==

This is the long description.  No limit, and you can use Markdown (as well as in the following sections).

For backwards compatibility, if this section is missing, the full length of the short description will be used, and
Markdown parsed.

A few notes about the sections above:

*   "Contributors" is a comma separated list of wp.org/wp-plugins.org usernames
*   "Tags" is a comma separated list of tags that apply to the plugin
*   "Requires at least" is the lowest version that the plugin will work on
*   "Tested up to" is the highest version that you've *successfully used to test the plugin*. Note that it might work on
higher versions... this is just the highest one you've verified.
*   Stable tag should indicate the Subversion "tag" of the latest stable version, or "trunk," if you use `/trunk/` for
stable.

    Note that the `readme.txt` of the stable tag is the one that is considered the defining one for the plugin, so
if the `/trunk/readme.txt` file says that the stable tag is `4.3`, then it is `/tags/4.3/readme.txt` that'll be used
for displaying information about the plugin.  In this situation, the only thing considered from the trunk `readme.txt`
is the stable tag pointer.  Thus, if you develop in trunk, you can update the trunk `readme.txt` to reflect changes in
your in-development version, without having that information incorrectly disclosed about the current stable version
that lacks those changes -- as long as the trunk's `readme.txt` points to the correct stable tag.

    If no stable tag is provided, it is assumed that trunk is stable, but you should specify "trunk" if that's where
you put the stable version, in order to eliminate any doubt.

== Installation ==

1. Upload `videopagetemplate` folder to the `/wp-content/plugins/` directory
2. Activate the plugin through the 'Plugins' menu in WordPress
3. Now you can use plugin settings at general setting page, and wp hooks related to the plugin.

== Frequently Asked Questions ==

= A question that someone might have =

An answer to that question.

= What about foo bar? =

Answer to foo bar dilemma.

== Screenshots ==

1. This screen shot description corresponds to screenshot-1.(png|jpg|jpeg|gif). Note that the screenshot is taken from
the /assets directory or the directory that contains the stable readme.txt (tags or trunk). Screenshots in the /assets
directory take precedence. For example, `/assets/screenshot-1.png` would win over `/tags/4.3/screenshot-1.png`
(or jpg, jpeg, gif).
2. This is the second screen shot

== Changelog ==

= 1.0 =
* Initial

== Arbitrary section ==

There are several filters that helps customize the video display.
Back end filters:

*  `page_template_plugin_dir_path` - The new template page path. Parameters: $path (default: `plugin_dir_path( dirname(__FILE__) ) . 'public/partials/'`)

Front end filters:
*   `wrapper_classes` - The classes of the div contains the two part content and video. Parameters: $classes (default: `''`).
*   `headline_open_wrapper` - Tag and class of the headline opening on the page template. Parameters: $html (default: `'<h2>'`).
*   `headline_close_wrapper` - End of the headline tag. Parameters: $html (default: `'</h2>'`).

*   `after_wrapper_begins_html` - Insert html after wrapper begins. Parameters: $html (default: `''`).
*   `before_wrapper_ends_html` - Insert html before wrapper ends. Parameters: $html (default: `''`).

== A brief Markdown Example ==

Ordered list:

1. Some feature
1. Another feature
1. Something else about the plugin

Unordered list:

* something
* something else
* third thing

Here's a link to [WordPress](http://wordpress.org/ "Your favorite software") and one to [Markdown's Syntax Documentation][markdown syntax].
Titles are optional, naturally.

[markdown syntax]: http://daringfireball.net/projects/markdown/syntax
            "Markdown is what the parser uses to process much of the readme file"

Markdown uses email style notation for blockquotes and I've been told:
> Asterisks for *emphasis*. Double it up  for **strong**.

`<?php code(); // goes in backticks ?>`