Using portfolio in your theme

Some of my themes have support for showing of your portfolio, like Kalervo and Eino. But when you install a theme and activate it, you don’t seem to be able to add any portfolios. Why is that?

  1. Because feature like these should never be in a theme. In this case portfolio feature.
  2. Instead features like these should be in a plugin so that you will not lose content when you change your theme.
  3. Themes like mine should only add styles (and template files) for plugins and add support for those plugins that way.

So what should I do to create portfolios?

In my themes I use Custom Content Portfolio Plugin. You need to install and active that plugin first. Then in your admin you’ll see new menu called Portfolio.

portfolio

You add new portfolio items same way as you’d add new article. Content of the portfolio item can be anything you want.

Remember to add Feature image and perhaps Project URL. Portfolios are like tags in posts, they behave the same way. For example in Kalervo theme Feature image size is 450 x 309 in pixels.

What is the URL of my portfolio?

It’s example.com/portfolio. For example if my domain is foxnet.fi, my portfolio URL is foxnet.fi/portfolio.