n Name: HQJDW Popular Posts Cache * Description: Caches the Zimeiti popular-posts widget and prevents per-request view-count sorting. */ defined( 'ABSPATH' ) || exit; function hqjdw_popular_posts_cache_key( WP_Query $query ) { $excluded = $query->get( 'post__not_in' ); $excluded = is_array( $excluded ) ? array_map( 'absint', $excluded ) : array(); sort( $excluded, SORT_NUMERIC ); return 'hqjdw_popular_posts_' . md5( implode( ',', $excluded ) ); } add_filter( 'posts_pre_query', static function ( $posts, $query ) { if ( is_admin() || 'post_views_count' !== $query->get( 'meta_key' ) || 'meta_value_num' !== $query->get( 'orderby' ) || 5 !== (int) $query->get( 'posts_per_page' ) ) { return $posts; } $cache_key = hqjdw_popular_posts_cache_key( $query ); $ids = get_transient( $cache_key ); if ( false === $ids ) { $query->set( '_hqjdw_popular_cache_key', $cache_key ); $query->set( 'no_found_rows', true ); return $posts; } $ids = array_values( array_filter( array_map( 'absint', (array) $ids ) ) ); if ( ! $ids ) { return array(); } $query->found_posts = count( $ids ); $query->max_num_pages = 1; return get_posts( array( 'post__in' => $ids, 'orderby' => 'post__in', 'post_type' => 'post', 'post_status' => 'publish', 'posts_per_page' => count( $ids ), 'no_found_rows' => true, 'ignore_sticky_posts' => true, 'suppress_filters' => true, ) ); }, 10, 2 ); add_filter( 'posts_results', static function ( $posts, $query ) { $cache_key = $query->get( '_hqjdw_popular_cache_key' ); if ( $cache_key && $posts ) { set_transient( $cache_key, wp_list_pluck( $posts, 'ID' ), 10 * MINUTE_IN_SECONDS ); } return $posts; }, 10, 2 ); :wq 春季易上火,多吃这些水果 – 环球焦点
首页 生活 春季易上火,多吃这些水果

春季易上火,多吃这些水果

春季是一个非常敏感的季节,这这样的季节,一不小心就上火了,引起后续的一系列问题,甚至是还会引起便秘的情况,那么春季上火吃哪些水果好?

春季上火吃哪些水果好

1、西瓜

西瓜味甘性寒,有清热解暑,泻火除烦,开胃、助消化、利尿功能,主要用于暑热烦渴,小便不利。但心力衰竭和水肿病人不能多食。

2、荸荠

荸荠味甘性寒,上火吃荸荠很好,既可以做蔬菜,又可做水果食用,有清肺胃之热,具有很好的清热降火功效,特别是清肺热、胃热,对于肺火引起的目赤不适、痰多,以及胃火旺引起的痔疮、大便下血等均有疗效。

3、甘蔗

甘蔗味甘性寒,有清热生津、下气润燥的作用,有上火症状的朋友不容错过,对于热病津伤,心烦口渴,肺燥咳嗽,大便燥结等上火症状很有疗效。

4、草莓

上火吃草莓降火快,有去火功效,能清暑、解热、除烦,对于去肝火以及心火效果显着,能够缓解因上火引起的咽喉肿痛、肺热咳嗽等。


排骨萝卜汤

相关阅读:降火食物菜单

热门文章

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注