• Resolved cyberlp23

    (@cyberlp23)


    Hello,

    I want to modify how the View submissions (gallery) template works, more specifically to display only posts where $post_content[‘fields’][‘field_name’] = a certain value.

    I’ve managed to do that by modifying the file: \totalcontest\modules\templates\Basic\views\contest\submissions.php

    But I can’t make it work on my child theme. Does TotalContest accepts templates overrides? Or is there a specific hook to do that?

    Thanks!

Viewing 1 replies (of 1 total)
  • Plugin Author TotalSuite

    (@totalsuite)

    Hi @cyberlp23

    Yes, TotalContest accepts custom templates under wp-content/uploads/totalcontest/templates/ directory. Try to copy totalcontest\modules\templates\Basic\ to wp-content/uploads/totalcontest/templates/CustomBasic and change the id field inside the module.json.

    Afterwards, you should see it under the TotalContest > Templates page, activate it from there, and also use it from the contest editor (Contest > Design > Template).

    I hope it helps! If you need any more help, please don’t hesitate to let me know.

    Regards,

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.