Support » Plugin: WP-PageNavi » Doesn't work

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author scribu


    Care to paste the exact error message?

    PS: Are you sure the plugin files are intact?

    @kreatemedia, i have just intalled a new wordpress blog, installed this plugin, and IT IS WORKING 100%, perfect! thanks @scribu!!

    function alter_the_query( $request ) {
        $dummy_query = new WP_Query();  // the query isn't run if we don't pass any query vars
        $dummy_query->parse_query( $request );
        // this is the actual manipulation; do whatever you need here
        if ( $dummy_query->is_category() )
            $request['posts_per_page'] = '3';
        return $request;
    add_filter( 'request', 'alter_the_query' );

    @scribu, as a recommendation, i suggest to include this in the FAQ page or somewhere, its really useful!!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Doesn't work’ is closed to new replies.