- This topic has 1 reply, 2 voices, and was last updated 10 years, 4 months ago by .
- The forum ‘Design Tips and Tricks’ is closed to new topics and replies.
These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.
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.
© 2023 WPEngine, Inc.