coningham
10/3/2017 - 12:45 AM

Salient

<?php

//Add this to child-theme

add_action( 'wp_enqueue_scripts', 'salient_child_enqueue_styles');
function salient_child_enqueue_styles() {
	
    wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css', array('font-awesome'));

    if ( is_rtl() ) 
   		wp_enqueue_style(  'salient-rtl',  get_template_directory_uri(). '/rtl.css', array(), '1', 'screen' );
}

//IMPORTANT: Shortcode Processing
function nectar_shortcode_processing(){
		require_once ( 'nectar/tinymce/shortcode-processing.php' );
}
nectar_shortcode_processing();

?>
<?

//order portfolio items

$portfolio_arr = array(
	'posts_per_page' => $posts_per_page,
	'post_type' => 'portfolio',
	'project-type'=> $category,
	'paged'=> $paged,
	'orderby'=> 'title',
	'order'=> 'ASC'
);

?>