Hi Dude,
thanks for your response!
I pasted the code you suggested, but it does nothing at all yet again. Portfolio on Frontpage still sorts the latest items instead of random.
Just for lulz I tried the code from "Portfolio Sort Order - reverse chronological" post to see if it will sort items in reversed order at least, and it works for all the pages, including the Main page, of course.
So my suggestion is that it does not recognize that the page is Frontpage so it ignores the code completely.
Just an idea, but maybe it is easier to try to set some sort of a condition - if number of portfolio items is 12 then sort randomly for portfolio items in general portfolio settings? And as I have 12 items set only for main page it will sort it there randomly? It sounds like an ugly solution, but for me it does not matter anymore. I just need it to work one way or another :)
Or maybe the issue is that the general portfolio settings that allow items to be sorted in chronological/reverse order still override the random settings for Frontpage? Either way it just ignores this part of code like it never existed.
I think that adding random sorting option to portfolio features in later releases of the theme would be a great idea. Am I really the only one needs or will need a feature like this?