[Resolved] 3 questions about wp show posts

Home Forums Support [Resolved] 3 questions about wp show posts

Home Forums Support 3 questions about wp show posts

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1494149
    Klaus

    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.

    #1494689
    Tom
    Lead Developer
    Lead Developer

    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.

    #1496000
    Klaus

    Thank you. I posted my question over at wpshowposts.

    #1497349
    Tom
    Lead Developer
    Lead Developer

    Thanks!

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.