I just migrated to genesis and am trying to create a custom quiz. The quiz currently lives on a non-genesis wordpress site
I am trying to integrate the quiz into genesis but am having problems.
On my current site, I simply made a file called page.quiz.php and then customized the file as such:
$et_ptemplate_settings = array();
<?php get_footer(); ?>
I have tried a variety of things and have searched extensively throughout this site and other for help; however, I am still getting used to genesis and haven't yet found a resource that has met my needs.
Should I make functions and call them from functions.php?
Should I use a php plugin?
What are you using to generate the quiz? Your own code or a third party system / plugin?
The gravity forms plugin is very good at creating quizes in WordPress with an easy to use drag and drop interface.
If it's your own code, write the functions into the functions.php file of your theme then hook them into the correct place or create a shortcode to output them on the correct page.
It may be easier depending on your coding ability to turn your quiz code into a WordPress plugin so it's not dependant on the current theme.
Let me know if you need further pointers.
You must be logged in to reply to this topic.
Subscribe to get early access to new themes, discounts and brief updates about what's new with StudioPress!