コード例 #1
0
ファイル: loop-category-table.php プロジェクト: RA2WP/RA2WP
	<table
		class="wpinventory_loop wpinventory_loop_category wpinventory_loop_category-<?php 
    echo wpinventory_get_the_category_ID();
    ?>
">
		<thead>
		<tr>
			<?php 
    if (wpinventory_get_config('display_listing_labels')) {
        foreach ($inventory_display as $sort => $field) {
            ?>
					<th class="<?php 
            echo wpinventory_label_class($field);
            ?>
"><?php 
            wpinventory_the_label($field);
            ?>
</th>
				<?php 
        }
    }
    ?>
		</tr>
		</thead>
		<tbody>
		<?php 
    while (wpinventory_have_items()) {
        wpinventory_the_item();
        wpinventory_get_template_part('single-loop-category', 'table');
    }
    ?>
コード例 #2
0
ファイル: loop-all-sample.php プロジェクト: RA2WP/RA2WP
    ?>
</th>
				<th><?php 
    wpinventory_the_label("inventory_price");
    ?>
</th>
				<th><?php 
    wpinventory_the_label("inventory_category");
    ?>
</th>
				<th><?php 
    wpinventory_the_label("inventory_date_added");
    ?>
</th>
				<th><?php 
    wpinventory_the_label("inventory_date_updated");
    ?>
</th>
			</tr>
		</thead>
		<tbody>
		<?php 
    while (wpinventory_have_items()) {
        wpinventory_the_item();
        wpinventory_get_template_part('single-loop-all');
    }
    ?>
		</tbody>
	</table>
<?php 
    echo wpinventory_pagination();