WPIntell

Source evidence

Exclude pinned posts

Popular Posts by Webline · support · 2023-11-30T16:35:00+00:00

complaintsentiment
mediumseverity
0.69relevance
1replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

Commercial opportunities need traceable source links before they are treated as build-worthy.

3 / 22 rows with source links

13.6% of this page's analysis has direct source links.

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

19 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
marekduse unresolved
Hello, how can I exclude pinned posts? OK i found it: In hook.php find line 278-297 and replace to this code: if($sort_by == "Comments") { $args = array( 'post_type' => $select_posttype, 'posts_per_page'=> $no_posts, 'orderby' => 'comment_count', 'order' => 'DESC', 'ignore_sticky_posts' => 1, ); } else { $args = array( 'post_type' => $select_posttype, 'posts_per_page'=> $no_posts, 'meta_key' => 'wli_pp_post_views_count', 'orderby' => 'meta_value_num', 'ignore_sticky_posts' => 1, ); }

Comments

1 shown
marekduse 2023-11-30T16:48:00+00:00

OK i found it: In hook.php find line 278-297 and replace to this code: if($sort_by == "Comments") { $args = array( 'post_type' => $select_posttype, 'posts_per_page'=> $no_posts, 'orderby' => 'comment_count', 'order' => 'DESC', 'ignore_sticky_posts' => 1, ); } else { $args = array( 'post_type' => $select_posttype, 'posts_per_page'=> $no_posts, 'meta_key' => 'wli_pp_post_views_count', 'orderby' => 'meta_value_num', 'ignore_sticky_posts' => 1, ); }