Jump to content


Photo
- - - - -

Alter 'PostNav' section to work with pages

pages postnav

  • Please log in to reply
3 replies to this topic

#1 Toby

Toby

    Advanced Member

  • Members
  • PipPipPip
  • 65 posts
  • Framework Version:1.0.1
  • Country: Country Flag

Posted 17 September 2013 - 11:03 AM

Hi, I would like to know if there is a way to change the 'postnav' section to display a selection of pages in the same way it does posts.

This will allow my user to flick through similar pages within a group.

 

Thanks



#2 Danny

Danny

    Is Awesome!

  • Moderators
  • 17533 posts
  • LocationManchester, UK
  • Country: Country Flag

Posted 17 September 2013 - 11:27 AM

Hi,

 

You will need to customize the section and set to work with pages or you could try this plugin.

 

http://wordpress.org...-not-next-post/



#3 Toby

Toby

    Advanced Member

  • Members
  • PipPipPip
  • 65 posts
  • Framework Version:1.0.1
  • Country: Country Flag

Posted 17 September 2013 - 12:05 PM

Ok, great so how would i create my own 'style class' so i can call it for individual sections?

 

Say I want to hide the next section/button, i think i am on the right track with this.
 

 

.hide-next {

visibility:hidden;

}

 

But I don't know how to identify the 'next' class.

 

p.s. Obviously i would paste 'hide-next' in the styling class in the 'postnav' section.



#4 Rob

Rob

    One Smart Egg

  • Members
  • 13575 posts
  • LocationEast Coast, USA
  • Framework Version:The Latest, of course
  • Country: Country Flag

Posted 18 September 2013 - 05:58 PM

In the section you're trying to edit, you'll see a Custom Class field.  Type into it hide-next.   Then apply your CSS to Custom Code.







Also tagged with one or more of these keywords: pages, postnav