/* 
 Theme Name:     Exile Press
 Author:         Peter Liptak
 Author URI:     http://peteliptak.com
 Template:       Divi
 Version:        1.0
 Description:   A Child Theme built using the elegantmarketplace.com Child theme maker
Developed by Andrew Palmer for Elegant Marketplace www.elegantmarketplace.com Free to use and duplicate as many times as you like
 Wordpress Version: 4.5.3
*/ 


/* ----------- PUT YOUR CUSTOM CSS BELOW THIS LINE -- DO NOT EDIT ABOVE THIS LINE --------------------------- */ 

add_filter( 'et_pb_portfolio_image_height', 'portfolio_size_h' );
add_filter( 'et_pb_portfolio_image_width', 'portfolio_size_w' );

function portfolio_size_h($height) {
return '9999';
}
function portfolio_size_w($width) {
return '9999';
}


function gallery_size_h($height) {
return '9999';
}
add_filter( 'et_pb_gallery_image_height', 'gallery_size_h' );
function gallery_size_w($width) {
return '9999';
}
add_filter( 'et_pb_gallery_image_width', 'gallery_size_w' );


add_filter( 'et_project_posttype_rewrite_args', 'wpc_projects_slug', 10, 2 );
function wpc_projects_slug( $slug ) {
$slug = array( 'slug' => ‘Slang’ );
return $slug;
}

function myfeed_request($qv) {
	if (isset($qv['feed']) && !isset($qv['post_type']))
		$qv['post_type'] = array('post', 'slang', 'page', download);
	return $qv;
}
add_filter('request', 'myfeed_request');