revert: 回档到 b613e01,保留 code-style 规范文档
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
if ($filter_type[0] == '*'){ $filter_type = substr($filter_type, 1); }
|
||||
$checked = in_array($filter_type, $current_filters_type);
|
||||
if (isset($all_post_types[$filter_type])){
|
||||
$filter_name = $all_post_types[$filter_type]->labels->name;
|
||||
$filter_name = $all_post_types[$filter_type] -> labels -> name;
|
||||
?>
|
||||
<div class="custom-control custom-checkbox search-filter-wrapper">
|
||||
<input class="custom-control-input search-filter" name="<?php echo $filter_type; ?>" id="search_filter_<?php echo $filter_type; ?>" type="checkbox" <?php echo $checked ? 'checked="true"' : ''; ?>>
|
||||
@@ -38,7 +38,7 @@
|
||||
<?php } ?>
|
||||
<p class="text-black mt-3 mb-0 opacity-8">
|
||||
<i class="fa fa-file-o mr-1"></i>
|
||||
<?php global $wp_query; echo $wp_query->found_posts; ?> <?php _e('个结果', 'argon');?>
|
||||
<?php global $wp_query; echo $wp_query -> found_posts; ?> <?php _e('个结果', 'argon');?>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user