Support » Plugin: WP-PageNavi » Pagination not working

  • Husain Ahmed

    (@husainahmedqureshi)


    Hello,
    the plugin is very good for wordpress. when i change post url according to requirement ‘rewrite’ => array(‘slug’ => ‘about/affiliation’), from custom post type then pagination will not working.

    ` $args = array(
    ‘labels’ => $labels,
    ‘public’ => true,
    ‘publicly_queryable’ => true,
    ‘show_ui’ => true,
    ‘query_var’ => true,
    ‘menu_icon’ => ‘dashicons-admin-users’,
    ‘rewrite’ => array(‘slug’ => ‘about/affiliation’),
    ‘capability_type’ => ‘post’,
    ‘hierarchical’ => false,
    ‘menu_position’ => null,
    ‘supports’ => array(‘title’,’editor’,’thumbnail’, ‘author’, ‘comments’, ‘excerpt’)
    );

  • You must be logged in to reply to this topic.