I'm having a small problem that I can't seem to solve. I'm using the portfolio list background on the home page of my site. On the items in my portfolio I've uploaded a feature image and a featured video. On my home page I want to display the featured images from my portfolio but on the pages for each item I want to display the featured videos on the masterhead page. but I can't manage to separate the types of display. I hope I've made myself clear. Thank you in advance for your help
Hello! On the portfolio posts you can control whether the featured videos should be used from "Page Masthead" section under document settings:
For the widgets where the portfolio posts are displayed, here is a filter function which you need to paste into functions.php of your child theme: https://pastebin.com/bWPzM8tg It will unset featured videos from the query result of "Portfolio List Backgrounds" widget so they won't be displayed and should fallback to featured images.
Please note that this will only work since Kinsey Core 2.3.1 version or later.
Hi,
I'm having a small problem that I can't seem to solve. I'm using the portfolio list background on the home page of my site. On the items in my portfolio I've uploaded a feature image and a featured video. On my home page I want to display the featured images from my portfolio but on the pages for each item I want to display the featured videos on the masterhead page. but I can't manage to separate the types of display.
I hope I've made myself clear.
Thank you in advance for your help
Mathieu
Hello! On the portfolio posts you can control whether the featured videos should be used from "Page Masthead" section under document settings:
For the widgets where the portfolio posts are displayed, here is a filter function which you need to paste into functions.php of your child theme: https://pastebin.com/bWPzM8tg It will unset featured videos from the query result of "Portfolio List Backgrounds" widget so they won't be displayed and should fallback to featured images.
Please note that this will only work since Kinsey Core 2.3.1 version or later.
Hello Artem, thank you for your quick feedback.
It's perfect, everything is working as expected.
Have a nice day!