Viewing 1 replies (of 1 total)
  • Plugin Author pjehan

    (@pjehan)

    Hello,

    For the template page to edit, have a look at the template file hierarchy : http://codex.wordpress.org/File:Template_Hierarchy.png

    I think you would need to create a new custom.php file.

    To loop through the images, you can use the loop and filter the custom taxonomy for Owl Carousel which is “Carousel”. You can use the example from the WordPress Codex : http://codex.wordpress.org/Taxonomies#Querying_by_taxonomy

    You can try something like :

    $args = array(
            'category_name' => 'weddings',
    	'tax_query' => array(
    		array(
    			'taxonomy' => 'person',
    			'field' => 'slug',
    			'terms' => 'bob'
    		)
    	)
    );
    $query = new WP_Query( $args );

    Let me know if it works.

Viewing 1 replies (of 1 total)

The topic ‘Categories and Pages’ is closed to new replies.