Epitome Featured Content
===============

A WordPress plugin to add your sliders, carousels, videos, maps or any kind of interactive elements as a featured content to your posts and pages.

[View project page](http://freddessaint.github.com/epitome-featured-content)

##What is Epitome Featured Content ?

The featured content helps to featuring other media than the default featured image from WordPress on a regular post or static page. For example sliders, carousels, videos, maps or any kind of interactive elements. The plugin adds a metabox in the edit page for saving an embedded code. Note that a small coding is required to display the featured content in the right location of your template. You can display the featured content in the desired location of the page with a set of functions that you call from your template. The plugin CMB2 is required for creating metaboxes.

##Features

You can display the featured content in the desired location of the page with a set of functions that you call from your template.

##Functions##
* `the_featured_content()` takes the current post or page ID and outputs the featured content.
* `get_the_featured_content($post_id)` has one optional parameter (post or page ID) and returns the featured content as a string.
* `has_featured_content($post_id)` has one optional parameter (post or page ID) and checks whether a featured content exists.

##Installation

1. Upload the `epitome-featured-content` folder to the `/wp-content/plugins/` directory.
1. Activate the plugin through the 'Plugins' menu in WordPress.

##Pull Requests

I want to keep this plugin as simple as possible. But feel free to fork the project and customize it to suit to your needs. Most wanted pull requests are for bug fixes.

Thanks for your understanding and thank you all for your helpful support!

##Changelog

See [Changelog.md](https://github.com/freddessaint/epitome-featured-content/blob/master/CHANGELOG.md)