我如何在创世纪的循环中进行设置。我正在使用 Eleven40 pro,这是 home.php
//* Add Genesis grid loop
remove_action( 'genesis_loop', 'genesis_do_loop' );
add_action( 'genesis_loop', 'eleven40_grid_loop_helper' );
function eleven40_grid_loop_helper() {
if ( function_exists( 'genesis_grid_loop' ) ) {
genesis_grid_loop( array(
'features' => 1,
'feature_image_size' => 0,
'feature_image_class' => 'alignleft post-image',
'feature_content_limit' => 0,
'grid_image_size' => 'grid-featured',
'grid_image_class' => 'grid-featured',
'grid_content_limit' => 250,
'more' => __( '[Continue reading]', 'eleven40' ),
) );
} else {
genesis_standard_loop();
}
}
//* 运行创世循环 genesis();
我只是想抵消前三个职位。我不想显示最新的 3 个帖子。请帮助向我展示如何做到这一点。我在 lib/structure/loop.php 中还发现了一个代号 loop.php