Drop down menus for all available pages/posts

I need several drop down menus to appear next to some text. I am very new to WordPress development so bare with me. I only have the HTML part of the code and I’m not so sure about how to add the wp_dropdown_menu() function into this. Any info info is much appreciated. I need the drop-downs to appear next to each line of text.

function newFunnel()
{
?>
<div class=”wrap”>
<h1>Create A New Funnel</h1>
<form>
<h3>Name of your funnel:</h3>
<input type=”text” placeholder=”Name your funnel…” class=”placeholder hide-on-focus” /><br>
<h3>Assign Pages To Your New Funnel</h3
<h4>Landing/Opt-in Page: </h4>
<h4>One-Time-Offer Page: </h4>
<h4>Thank You Page: </h4>
<h4>Content Page(s) (to be sent out through email sequence):</h4>
<button type=”button”>Add content page</button>
<h4>Sales/Order Page (for self-hosted product): </h4>
<h4>Up-Sell Page: </h4>
<h4>Down-Sell Page: </h4>
<h4>Sales Thank You Page: </h4>
<input type=”submit” name=”submit” value=”Create Funnel”>
</form>

</div>
<?php
}

Read more here:: Drop down menus for all available pages/posts

Leave a Reply

Your email address will not be published. Required fields are marked *