'sight-categories', 'hide_empty' => false, 'include' => isset( $attributes['categories_filter_ids'] ) ? $attributes['categories_filter_ids'] : '', 'orderby' => isset( $attributes['categories_orderby'] ) ? $attributes['categories_orderby'] : 'name', 'order' => isset( $attributes['categories_order'] ) ? $attributes['categories_order'] : 'ASC', 'number' => isset( $attributes['number_items'] ) ? $attributes['number_items'] : null, ) ); if ( $categories ) { ?>
> term_id, 'sight_featured_image', true ); // Get item project. if ( wp_get_attachment_image( $attachment_id ) ) { $portfolio_entry = new Sight_Entry( $attributes, $options ); // Set settings. $portfolio_entry->object_id = $category->term_id; $portfolio_entry->attachment_id = $attachment_id; // Init portfolio entry. $portfolio_entry->init(); require apply_filters( 'sight_portfolio_item_path', SIGHT_PATH . 'render/handler/portfolio-entry.php', $attributes, $options, $portfolio_entry ); } } ?>