WPIntell

Source evidence

Use with custom post type

Recent Posts with Excerpts · support · 2014-06-13T20:17:00+00:00

questionsentiment
lowseverity
0.45relevance
1replies
Evidence onlycommercial context

Proof Health

Open evidence

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

1 / 1 rows with source links

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

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

0 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
AlexTex resolved
Is it possible use this widget with custom post type? It shows only posts thanks https://wordpress.org/plugins/recent-posts-with-excerpts/ Yes. add_filter('recent_posts_with_excerpts_query', 'my_excerpt_query'); function my_excerpt_query( $q ) { $q['post_type'] = 'my_custom_post_type_name'; return $q; }

Comments

1 shown
Stephanie Leary 2014-12-11T19:21:00+00:00

Yes. add_filter('recent_posts_with_excerpts_query', 'my_excerpt_query'); function my_excerpt_query( $q ) { $q['post_type'] = 'my_custom_post_type_name'; return $q; }