March 11, 2013 at 12:48 am #25426
I'm looking at adding WP-PageNavi to my theme, Metro.
After doing some research on it, both on these forums and on Google, I couldn't find anything on how to use WP-PageNavi.
Does anyone have any thoughts on how I can use it?
March 11, 2013 at 8:57 am #25454
Brian BournParticipantMarch 11, 2013 at 10:15 am #25460
You're kinda missing the point of the thread. I'm trying to get PageNavi to work and override Genesis' built-in. I want more flexibility than that Genesis offers out of the box.
March 11, 2013 at 6:36 pm #25549
It's also not shown in the stock demo here - http://demo.studiopress.com/metro/
Which makes me believe it didn't come with the theme to begin with.
March 11, 2013 at 10:09 pm #25574
Are you referring to numeric pagination as shown at the bottom here:
If so, that does come standard with Genesis. In fact, as far as I know, Genesis does everything that WP-PageNavi does. Re-read Brian's comment. He was pointing you in the right direction.
March 11, 2013 at 10:10 pm #25576
I asked Brian Gardner directly on Twitter today.
His response was that Metro has a custom homepage and the homepage does not come with pagination. Rather, it's available only at the category level.
I just like having pagination on the homepage, not just category pages. But that's where my disconnect was.
April 12, 2013 at 12:43 am #34929
Hi guys, I need to ask about this too, but for perhaps a slightly different reason.
I am using the Metro theme for our church website, and for sermons want to use the Sermon Manager plugin. However, in order to use pagination with sermon manager (according to the plugin creator) I have to use WP-PageNavi. So I installed PageNavi, and it shows the navigation at the bottom of the page, but when I click on any of the pages, it just reloads to page 1.
According to the PageNavi developer (http://scribu.net/wordpress/wp-pagenavi/right-way-to-use-query_posts.html), “Most of the time, your theme is just using query_posts() wrong.” I submitted a ticket to Genesis support, but apparently "you would have to unhook for Genesis Nav, then rehook for the new navigation" and, "I'm very sorry, but we're not able to provide assistance with this through the support desk, as it involves customization to your theme's code."
Now, I realise that it's kinda dumb for a plugin to have to require the installation of another plugin simply for navigation to work. However, that's the way it is, and it's not exactly like sermon plugins are a dime a dozen, so I'd really like to know if there is any way for me to get PageNavi to work with Genesis.
Ideas?April 12, 2013 at 5:41 am #34954
You know what . . . never mind. That sermon plugin is giving me such headaches I'm going to find something else.August 12, 2013 at 12:22 pm #55832
I am also using the Metro theme and want to add the numeric navigation like in WP-PageNavi to the bottom of the blog template pages. Does anyone know how to do that?
It says to replace the code (in Twentyten theme it looks like below):
<div class="nav-previous"><?php next_posts_link( __( '<span class="meta-nav">←</span> Older posts', 'twentyten' ) ); ?></div> <div class="nav-next"><?php previous_posts_link( __( 'Newer posts <span class="meta-nav">→</span>', 'twentyten' ) ); ?></div>
<?php wp_pagenavi(); ?>
Does anyone know where to find this code in the genesis themes?
JennAugust 15, 2013 at 7:25 pm #56724
If you're using Metro, all of the category and page templates should by default use the pagination if you enable it (worked for me).
In the Genesis Theme settings, go to Content Archives, change "Select Post Navigation Technique" to Numeric, and you're good.
The only way I found to get such navigation from the home page widgets was to use Featured Widget Amplified, and and enable the "Show Category Archive Link" to provide a link to click on to get to the regular category listings.
August 16, 2013 at 9:16 am #56807
Thanks! That's exactly what I was looking for. 🙂
You must be logged in to reply to this topic.