Site logo

Archived topic

3 questions about wp show posts

3 replies · Started by Klaus on October 18, 2020

Viewing posts 1–4 of 4

Three questions:

I have two active snippets and I think that they maybe are outdated?

1. First snippet: add_filter( 'wpsp_pro_beta_tester', '__return_true' );?
2. Second: Wp Show Posts Category Pages

add_filter('request', function( array $query_vars ) {
if ( is_admin() ) {
return $query_vars;
}
if ( isset( $query_vars['category_name'] ) ) {
$pagename = $query_vars['category_name'];
$query_vars = array( 'pagename' => "$pagename" );
}
return $query_vars;
} );

3. I would like to show my search results in the way I show my wp show posts category pages. Can I create a search results page with wp show posts? At the moment search results display a little ugly.

Hi there,

1. This makes it so you get alpha and beta updates for WPSP Pro.

2. This makes it so category archives redirect to static pages if they exist.

3. I'm not sure if this is possible at the moment, unfortunately - at least not without quite a lot of trial and error. If you'd like to post this in the WPSP forum, I'll see if I can find some time to play with it.

Thank you. I posted my question over at wpshowposts.

Thanks!

This archived topic is closed to new replies.