Customizing the Portfolio page layout

This tutorial goes over how to edit the portfolio page template to include Bootstrap classes and components to arrange the portfolio items on the page. You will start by including the Bootstrap grid system to get the portfolio items in a three column layout. Once this has been completed, you will add the Bootstrap thumbnail […]

You need to have an active subscription to view this content.

Register Here!
  • Leon Gotje

    I had to change “thumbnail” to “img-thumbnail” in order to look good in the anchor.

  • Thank you! And comment bellow is probably right, it should be img-thumbnail class with images…

  • Alessandro “Elio” Milani

    Great improvements with this… I have a problem to fix, on the portfolio page I have the limitation of the “post per page” related to blog/home page for wordpress… how we can override the default query to show out all of ours portfolio items… portfolio page doesn’t have a pagination indeed… could you kindly help me Brad? Thanks a lot for your courses 🙂

    • Alessandro “Elio” Milani

      find the solution myself, just modify the query in this way:
      $the_query = new WP_Query( array('post_type' => 'portfolio', 'posts_per_page' => '16') ); ?

      hope this could help 🙂

      thanks anyway Brad