Si está trabajando en un tema personalizado, creo que es más fácil hacerlo con una plantilla de página y la función wp_ajax de WordPress.
El formulario se puede incluir en la página usando <?php get_template_part('form','0f-50-question') ?>
.
Aquí está el pseudo código para el formulario
<form id="quite-a-long-form" action="<?php echo admin_url('admin-ajax.php'); ?>" method="post" class="form" >
$step = $_GET['step']
if $step = 1
//first section of question
echo <label>
echo <input>
echo <label>
echo <input>
else if $step = 2
//second section of question
echo <label>
echo <input>
echo <label>
echo <input>
else if $step = 3
//third section of question
echo <label>
echo <input>
echo <label>
echo <input>
// just repeat for all sections
endif
<input type="Submit">
<?php wp_nonce_field('input-answer','security-code-here'); ?>
<input name="action" value="input-answer" type="hidden">
</form>
Y para el php que procesará el archivo
function process_add_transfer() {
if ( empty($_POST) || !wp_verify_nonce('security-code-here','add_transfer') ) {
echo 'You targeted the right function, but sorry, your nonce did not verify.';
die();
} else {
// do your function here
wp_redirect($_POST['_wp_http_referer'].'?step='.$index_of_the_next step);
}
}
Espero esta ayuda