is there a possibility to show a dedicated category in the beginning and not all entries?
i would like to show only some featured projects in the beginning (category featured) but if the user clicks all projects or other categories… they should be visible
thanks in advance
Hey c_frei,
Thank you for the inquiry.
This should be possible with a custom script. Please check the documentation below for more info.
// https://kriesi.at/documentation/enfold/portfolio-grid/#load-a-default-portfolio-category-
In the documentation, you’ll find instructions on how to use the eq selector in the custom script. The eq selector accepts an integer as a parameter, representing the category’s position in the sort container. For example, if you want to load the first category, you would use 1 as the parameter. Similarly, for the second category, you would use 2, and so on.
Please follow the instructions in the documentation to implement the custom script and adjust the integer value accordingly to load the desired portfolio category.
If you have any further questions or need additional assistance, feel free to ask.
Best regards,
Ismael
thanks.. for you solution
i had to add a timeout for some milliseconds because the category was not ready/visible at window.load
but it is working now
thanks
Hi,
Great, I’m glad that you got managed to get it working. Please let us know if you should need any further help on the topic, or if we can close it.
Best regards,
Rikard
you can close it ;-) thanks!