I was wondering, in UXportfolio, Is there a way on a mixed portfolio (both images and video) to also add a text block? Like the video caption, but with full formatting?
Is there then a way for the video caption to correctly show the text formatting? Because right now it strips down every html formatting I tried to apply. That would be greatly appreciated.
In this case, you would need to use a child theme to override the related function of the parent theme. Please first create a new child theme then try adding this code into the "functions.php" file of the child theme:
Hello and thanks for a beautiful and clean theme!
I was wondering, in UXportfolio, Is there a way on a mixed portfolio (both images and video) to also add a text block? Like the video caption, but with full formatting?
Thank you in advance,
G.
Hello!
Thanks for the kind words!
Unfortunately, there's no text block element to be used between image and video content in the Mixed format. I am sorry about that.
Regards,
Paul
Hello Paul, and thank you for your swift reply!
Is there then a way for the video caption to correctly show the text formatting? Because right now it strips down every html formatting I tried to apply. That would be greatly appreciated.
Thank you for your time,
G.
In this case, you would need to use a child theme to override the related function of the parent theme. Please first create a new child theme then try adding this code into the "functions.php" file of the child theme:
Now the $caption variable of the video will not be escaped so any HTML can be displayed.
For the how-to article about creating child themes, please see: https://uxbarn.ticksy.com/article/8649/
I hope this helps!