• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

WP SITES

2784

Original Genesis Tutorials & 6000+ Guaranteed Code

Snippets

  • Consultation
  • Full Access
  • Log in

Override Genesis Portfolio Pro Plugin Items Per Page Setting

This code enables you to override the “Items Per Page” setting added to each portfolio archive edit screen when you install the Genesis Portfolio Pro plugin.

Here’s the code you can add to your child themes functions file to set items per page for the portfolio custom post type archive and custom taxonomy type archives.

Show All

To show all items on 1 page, modify the last line in the above code like this :

$query->set( 'posts_per_page', '-1' );

Related Code Snippets

  • Genesis CPT Archive Settings Field For Posts Per Page

Custom Post Type

Reader Interactions

Comments

  1. Cemal Ekin says

    March 24, 2019 at 6:24 am

    Hello Brad, I am a new subscriber and do not use Facebook. I tried sending an e-mail which has not yet been delivered to webmaster@example.com. Is that really the correct address to use? I am using this post for no particular reason other than it was the first one on a search for “portfolio.”

    Thank you,

    Cemal

    Log in to Reply
    • Brad Dalton says

      March 24, 2019 at 7:02 pm

      Hello Cemal. Sorry about that. I removed the contact form because i was getting spam and replaced it with a link to my email but forgot to change the address to brad@wpsites.net. Fixed now. How can i help you?

      Log in to Reply

Leave a Reply Cancel reply

You must be logged in to post a comment.

Primary Sidebar

Code written by Brad Dalton specialist for Genesis, WooCommerce & WordPress theme customization. Read More…

Advertise · WPEngine · Genesis · Log in

  • Access Problems
  • Account Details
  • Consulting
  • Tags
 

Loading Comments...
 

You must be logged in to post a comment.