Tagged: portfolio items
Hi guys,
could you please let me know if there is a way to ‘adjust’ the sidebar in the portfolio items view?
I do not want to archive and blog items shown. But the sidebar can be of use on the page in general as I want to display ‘the other’ portfolio items from a certain category.
I know I can alter every single portfolio item, but is there a way to do this globally?
Thanks for you always brilliant support!
Stefan
Hey Stefan,
Thanks for getting in touch with us!
Please try adding this code to the Quick CSS section under Enfold > General Styling or to your child themes style.css file:
.single-portfolio .widget_archive {
display: none;
}
Best regards,
Jordan
Hi Jordan,
thanks for that! This takes out the blog archive and from your answer I gathered that:
.single-portfolio .widget_categories {
display: none;
}
…takes out the categories as well.
I’m also looking fo a way to just display ‘the other’ portfolio items from ‘the same’ category on the sidebar.
Would you know how that could be accomplished?
thanks again,
Stefan
Hi,
Add new widgets in the Displayed Everywhere area then control their visibility with the Widget Logic plugin. Use the is_singular(‘portfolio’) conditional function. For the portfolio items, you can try the Enfold Latest Portfolio widget.
https://wordpress.org/plugins/widget-logic/
https://codex.wordpress.org/Function_Reference/is_singular
Best regards,
Ismael
Thanks Ismail,
This was a very valuable tip!
Great support! Problem solved!