pods template or php template?
-
Hi Jory,
I’ve created a pod called ‘Clubleden’, which has a title, featured image, custom field ‘functie’ and custom field ‘lid sinds’. The ‘functie’ field is a simple relationship field with the values: ‘voorzitter’, ‘penningmeester’, ‘secretaris’, ‘bestuurslid’, ‘lid’. The first four are members of the board, which I want to display on a separate page. But I want them to display in a particular order: voorzitter, penningmeester, secretaris, bestuurslid, bestuurslid.
Do you think this can be achieved with a pods template, or should I go for a php template? I played around a bit with the shortcode to see if I could get the data I wanted and was able to do so with a ‘where’-statement. But (if I’m correct) you can’t use any html markup in the shortcode, so a template will be needed.
I’ve looked at your videos and other suggestions on the net, but haven’t found an answer to this question. First I thought I could use an [If] statement, but this is only to check if a field is present or not. Could you give me any advice on the sort of template to use for this?
Tanks in advance,
Bert.
The topic ‘pods template or php template?’ is closed to new replies.