Customizing the single Portfolio page layout

This tutorial goes over how to setup the single portfolio page layout in our WordPress theme. In this tutorial we will remove some unneeded code from our single portfolio page layout and add the Bootstrap grid classes.

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

Register Here!

  • oxygensmith

    To be consistent and to keep the directory structure clean, shouldn’t content-portfolio.php reside in the theme’s template-parts directory? If you did, then line 18 of ‘single-portfolio.php’ would then be

    … right?

    • You can put the file where ever you would like. The version of underscores that I use in the tutorials doesn’t have the templates-parts directory. But yes, you are correct.

    • Matthew Abraham

      Thanks man your comment was extremely helpful.

  • Thank you