<?php

require_once INTENSE_PLUGIN_FOLDER .  '/shortcodes/custom-post/custom-post-shortcode.php';

class Intense_Quotes extends Intense_Custom_Post {
	function __construct() {
		parent::__construct();

		$this->title = __( 'Quotes', 'intense' );
		$this->description = __( 'Show off your quotes with numerous different layouts. Use any of the templates provided for the Blog shortcode, or create your own templates.', 'intense' );
		$this->custom_post_type = 'intense_quotes';
		$this->taxonomy = 'intense_quotes_category';		
	}

	function shortcode( $atts, $content = null ) {
		$atts["post_type"] = "intense_quotes";

		if ( empty( $atts["taxonomy"] ) ) $atts["taxonomy"] = "intense_quotes_category";

		return parent::shortcode( $atts, $content );
	}
}