lesterchan / wp-pagenavi

Adds a more advanced paging navigation interface to your WordPress blog.
https://wordpress.org/plugins/wp-pagenavi/
134 stars 49 forks source link

Removing wp-pagenavi pagination from feeds #20

Closed fotofio closed 9 years ago

fotofio commented 9 years ago

I'm having an issue with only the first page of paginated post being included within a feed. Trying now to cobble together a workaround but nothing seems satisfactory.

Using a genesis theme that provides for simple hooks using conditionals but unsure of the syntax regarding how to terminate post pagination when that content becomes part of a feed.

what is the opposite of array( 'type' => 'multipart' )

And how much sense does the following make:::::::::: if ( is_single() ) {

if (function_exists('wp_pagenavi')) wp_pagenavi( array( 'type' => 'multipart' ) );

} else { if ( is_feed( $feeds ) ) { if (function_exists('wp_pagenavi')) wp_pagenavi(); } }

lesterchan commented 9 years ago

Sorry what does this has to do with the plugin? The plugin doesn't control your feed. You probably have to ask on the default WP forum as this is likely a default behaviour.