File: /storage/v6964/testingff/public_html/fdfctr/wp-content/plugins/listdom/app/includes/skins/cover.php
<?php
// no direct access
defined('ABSPATH') or die();
if(!class_exists('LSD_Skins_Cover')):
/**
* Listdom Skins Cover Class.
*
* @class LSD_Skins_Cover
* @version 1.0.0
*/
class LSD_Skins_Cover extends LSD_Skins
{
public $skin = 'cover';
public $default_style = 'style1';
/**
* Constructor method
*/
public function __construct()
{
parent::__construct();
}
public function init()
{
}
public function query()
{
$this->args['post_type'] = LSD_Base::PTYPE_LISTING;
// Post ID
$this->post_id = isset($this->skin_options['listing']) ? $this->skin_options['listing'] : 0;
$this->args['post__in'] = array($this->post_id);
}
}
endif;