• Hey guys I’m trying to add a newsletter signup form to my menu.php nav bar. I’m having a ton of trouble. After creating my html form, I copy it into menu.php AFTER the php closes, but before the div closes. This puts the HTML form to the right of the navigation bar. Then I copy it BEFORE the php closes and it disappears. Is there a way to get this to work and everything to display inline? here is the code I’m using:

    <div class="menu">
    
               <?php if(function_exists('wp_page_menu')) : ?>
                <?php wp_page_menu ('show_home=1&depth=1&title_li='); ?>
              <?php else : ?>
    
    	<ul>
                <li><a href="<?php echo get_settings('home'); ?>">Home</a></li>
                <?php wp_list_pages('depth=1&title_li='); ?>
            </ul>
    
    <?php endif; ?><div id="emailboxx"> <form name="" method="post" action="http://peacepaint.org/marketing/12all/box.php" accept-charset='utf-8'>
    <table width="212" border="0" cellspacing="0" cellpadding="0">
    <tr>
    <td width="75"><div align="right">E-mail: </div></td>
    <td><div align="right">
    <input name="email" type="text" id="email"  size="16">
    </div></td><td> <div align="right">
    <input type="submit" name="Submit" value="Submit">
    </div></td>
    </tr>
    <tr>
    <td width="75"><div align="right"> </div></td>
    <td> <div align="left">
    <input name="funcml" type="hidden" value="add" checked>
    </div></td>
    </tr>
    <tr>
    <td width="75"><div align="right"> </div></td>
    </tr>
    <tr>
    <td width="75"><div align="right">
    <input name="p" type="hidden" id="p" value="2">
        <input type="hidden" name="nlbox[1]" value="17">
    </div></td>
    </tr>
    </table>
    </form></div>
    </div>

    As you can see, I’ve even tried adding a div around my HTML form in an attempt to move its margin further left. It did not work. Does anyone have experience with this? Thanks ahead of time.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Modifying menu.php’ is closed to new replies.