Community Forums › Forums › Archived Forums › Design Tips and Tricks › Modern Portfolio with Jetpack Custom Content Type Customization
Tagged: custom content type, jetpack, modern portfolio
- This topic has 4 replies, 2 voices, and was last updated 8 years, 4 months ago by ArtbyMLO.
-
AuthorPosts
-
July 13, 2016 at 4:45 pm #189426ArtbyMLOMember
Dear Studiopress Community,
I am using Modern Portfolio for about a year and I am very happy with it. Recently, I added Custom Content Types by JetPack to my website in particular the portfolio. It appears as if the portfolio archive uses the same template as the blog post archive.
What I would like to do:
- have a different sidebar for all portfolio related pages (portfolio archive, portfolio-type, portfolio-tags and portfolio-single), because I would like to create custom menus with the portfolio-tags in order to filter my paintings
- change the portfolio archive look in particular square preview images, removing the title, removing the excerpt and showing the featured images ideally it in two columns
What I tried:
- I installed Genesis Portfolio Pro but it lacks the portfolio tags, which are crucial for me. So it didn't make sense for me to pursue this approach.
- I installed the Genesis Simple Sidebars but I lack the possibility to select / customize the portfolio template pages
What I would like to know:
Do you happen to know if there is any Genesis compatible / approved plugin which allows me my desired customization?
Could you give me some guidance how I could get there? Could I copy a template file, rename it and try to adjust e.g. the sidebar hook there?
Thank you very much,
MartinURL http://ostachowski.com
Child Theme Modern Portfolio
http://ostachowski.comJuly 14, 2016 at 12:48 am #189440WilliamMemberHi There,
My suggestion, rather than relying on a plugin, would be to create my own custom post type. This will all the flexibility to get the desired result.
https://codex.wordpress.org/Post_Types
https://generatewp.com/post-type/
https://wordpress.org/plugins/custom-post-type-ui/ ( CPT generator )🙂
Genesis Customization Service | Quick fixes whenever you need them ! | Contact me at Fixmysite.com !
July 14, 2016 at 1:27 pm #189485ArtbyMLOMemberHi William,
thanks for the links, I kept researching and found a solution:
I used the Portfolio Post Type Plugin by Devin Price:
Next, I modified the Template Archive according to Bill Erickson step by step instruction:
Then I manually include titles and descriptions in the archive-portfolio.php
Last, I select the my portfolio sidebar following Nick Ceske code:
Following these four steps my portfolio looks like I wanted: http://ostachowski.com/portfolio
Thanks,
Martin
July 14, 2016 at 1:47 pm #189489ArtbyMLOMemberThank you William, I kept searching and found a solution.
I tried to include all links in this post but the whole post gets blocked. So therefore, you will have to google the respective pages.
First I included the plugin Portfolio Post Type by Devin Price.
Then, I followed the instructions of Bill Erickson and his post "Adding a Portfolio to any Genesis child theme"
I manually added the title and description in the archive-portfolio.php
Last, I followed the snippet of Nick Ceske on how to asign a custom sidebar. (https://gist.github.com/nciske/6e2cc398f270d34207d5)Cheers,
Martin
July 17, 2016 at 7:23 am #189473ArtbyMLOMemberHi William,
thanks for the advice, but I kept researching and worked it out:
I used the plugin Portfolio Post Type by Devin Price. Link
Then I modified my Archive Template according to the documentation of Bill Erickson. Link
Next, I manually added the title and a description to the archive-portfolio.php and include titles for categories and tags without a description.
Last, I select a separate sidebar following Nick Ciske. LinkThanks,
Martin
-
AuthorPosts
- The forum ‘Design Tips and Tricks’ is closed to new topics and replies.