Community Forums › Forums › Archived Forums › General Discussion › Minimum Pro Portfolio – Number of Portfolio Items
Tagged: minimum pro, portfolio
- This topic has 8 replies, 3 voices, and was last updated 9 years, 11 months ago by lifetreecreative.
-
AuthorPosts
-
April 16, 2014 at 10:12 pm #100892lifetreecreativeMember
I would like to have all of my portfolio items on the same page instead of showing six at a time. Where can I change this?
Thank you!
April 17, 2014 at 6:31 am #100930Brad DaltonParticipantMay 2, 2014 at 8:50 pm #103382lifetreecreativeMemberThat doesn't seem to work. I'm using the Minimum Pro theme. Does that make a difference?
Also, is there a way to change the URL from /portfolio to /somethingelse?
Thanks!
May 2, 2014 at 10:35 pm #103401Brad DaltonParticipantWhere did you put the code?
I tested it and it works for me hundreds of times.
Please copy ALL the code from the view raw link and paste it at the end of your child themes functions.php file using a text editor like Notepad++
Simply change the slug in the code and re-save your Permalinks.
'rewrite' => array( 'slug' => 'portfolio', 'with_front' => false ),
May 2, 2014 at 10:41 pm #103403lifetreecreativeMemberThanks so much Brad.
I placed it in functions.php
I'm no longer logged in and this is what I see: http://gladheartrealty.com/cms/team/
May 2, 2014 at 11:00 pm #103407TomParticipantJust a second set of eyes checking in here...
Brad's code is absolute rock solid. It stems from pagination settings for portfolio post-types in the Executive/Pro theme but will function perfectly without modification in your Minimum Pro theme. In fact ... Minimum Pro ships with this code straight from StudioPress at line 170 in functions.php. In earlier versions you may find this at line 147.
Choose your next site design from over 350 Genesis themes.
[ Follow me: Twitter ] [ Follow Themes: Twitter ] [ My Favourite Webhost ]May 2, 2014 at 11:05 pm #103408lifetreecreativeMemberThanks Tom!
Is there a setting on the dashboard that is maybe overriding the code in functions.php?
May 2, 2014 at 11:38 pm #103414TomParticipantShort answer: no.
If you are still having a problem, please look in functions.php to see that you have not duplicated the action in separate functions. This might have happened if you added Brad's code underneath the pre-existing code to control portfolio pagination. I'd suggest backing out what you may have added and looking at the native code.
Longer puzzler: Your dev WP installation for the site redesign appears to be in a folder called "cms" and the porfolio post-type items appear to be in an archive called 'team' where I would have expected 'portfolio'. Are you using an additional custom post-type? Anything else custom or funky?
If you still have problems after this, perhaps you could post your functions.php in a pastebin for us to have a look at.
Choose your next site design from over 350 Genesis themes.
[ Follow me: Twitter ] [ Follow Themes: Twitter ] [ My Favourite Webhost ]May 6, 2014 at 4:45 pm #103943lifetreecreativeMemberFigured it out. Not sure how but I had the code repeated in different places. Removed one of them and worked like a charm. Thank you guys!
-
AuthorPosts
- The forum ‘General Discussion’ is closed to new topics and replies.