WPIntell

Source evidence

Sort Main Posts by Post with newest Microblog Update

Live Blogging Plus · support · 2017-12-26T09:43:00+00:00

complaintsentiment
mediumseverity
0.69relevance
0replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

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

7 / 34 rows with source links

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

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

27 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
havasuscannerfeed unresolved
I have a function that sorts posts by last modified date: function custom_query_vars_filter($vars) { $vars[] = 'sortby'; //$vars[] .= 'another'; return $vars; } add_filter( 'query_vars', 'custom_query_vars_filter' ); function techslides_alter_query($query){ $sortby = get_query_var( 'sortby' ); if( $sortby=="modified" && !is_admin() && $query->is_main_query() ){ $query->set( 'orderby', 'modified' ); } } add_action('pre_get_posts','techslides_alter_query'); A ?sortbymodified gets added to the URL to return the sort order. How can I modify the sort order of the posts to be by which post has the newest microblog post OR update? The page I need help with: [ log in to see the link]

Comments

0 shown

No comments were stored for this source.