Hey John,
Thank you very much for trying to help me.
But when I replace the code, I get the following error:
Parse error: syntax error, unexpected ‘endwhile’ (T_ENDWHILE) in /home/myusername/public_html/wp-content/themes/customtheme/single-model.php on line 62
Any idea how to fix this? 🙂