-
AuthorPosts
-
December 6, 2015 at 4:00 pm #547622
Hi,
I’m using the advanced avia layout builder for portfolio items.
How do I
1. display the related portfolio items below my detail page when using the layout builder,
2. > related based on category type and not on tags.
I have seen here and there semi solutions, but too old for this latest Enfold.Thank You
S
December 7, 2015 at 5:50 am #547765Hi Spiv,
Could you provide us with a link to the site in question so that we can take a closer look please?
Best regards,
RikardDecember 7, 2015 at 1:20 pm #547955Hi Rikard, for now working on localhost.
I do think the questions are clear?I would like to show related portfolio-items based on category, just as you have with a blog page like this based on tags (scroll to bottom)
http://kriesi.at/themes/enfold/2014/04/28/new-electric-cars-are-getting-really-fast/Considering I use the avia layout builder for portfolio pages.
Thank you in advance
December 7, 2015 at 6:20 pm #548197Hi!
A related section can be displayed manually by adding a text block and portfolio grid element (set to your desired category) below it.
As described in this thread:
https://kriesi.at/support/topic/show-related-portfolio-categories-on-a-portfolio-page/#post-296696
Best regards,
DakeDecember 8, 2015 at 9:31 pm #549235Hi Dake,
This method is half a solution as it shows also the current item, so it would be a serious hassle to always hide the current item by CSS per page, unless you know a shortcut CSS method to hide the current item in this module you suggest? Imagine 30+ portfolio items. No joy and endclient has no control when adding an item :(. If I can do in a few rules, then I could take peace with this solution.
I prefer consistency in layout and navigation methods. (I also noticed related posts doesn’t work in blog when using the layout builder).
Related items module content block would be nice in the builder. I added it to requested features.If you possibly could help me out with a function or CSS line to hide the current item for now?
Thanks
December 14, 2015 at 4:39 pm #552461Hey!
use this css code in Quick CSS field to hide related posts:
.related_posts.av-related-style-full { display: none; }
Regards,
AndyDecember 14, 2015 at 7:12 pm #552565Hi Andy,
I think you didn’t read well ;)
I’m forced to use the category listing, since there is no related posts module available (that works only for standard blog use without a layout editor). But…then it also shows the current item you’re looking at. The question was how to hide that. If there is any trick to it by using css…
Simply put: I want to display all other posts in that category when I’m on a portfolio single post page, but not the current one.I know how to do this per page, but then I need to add a lot of css based on post ID for every single post, which is cumbersome if you have many portfolio items.
December 18, 2015 at 4:29 pm #555057Hi!
I think you need to search a plugin for such a function, as their is no theme feature for this or have a look at this: https://codex.wordpress.org/Template_Tags/get_posts
If you can’t do it yourself, then you would need to hire a freelance developer for this job.
Regards,
Andy -
AuthorPosts
- You must be logged in to reply to this topic.