From inside a view I'm calling a php function, which should return a dynamic value. However, the returned value is always the same, which is equal to the values returned the first time after I've changed the views setting. The shortcode works fine, when called from a shortcode block outside the view.
I can't account for that, I don't get the same when I create a custom shortcode to return a random number on my own site (screenshot: in the loop I output the post title and then the random shortcode; the results are different for each iteration).
I suggest you try this after deactivating all non-Toolset plugins, perhaps something is interfering (although it is not obvious how).
I don't think it is related, but you don't name the attribute you are passing, you pass "select" rather than something like some-attribute="select".
Hi Nigel. Thank you for your answer 🙂
I'll look into your suggestions and see if any of them will help …
And thanks for the hint about shortcode for retrieving url parameters, which I didn't find although I looked for it 😉