WordPress.org

Ready to get started?Download WordPress

Forums

wp_nav_menu customization problem, theme implement (1 post)

  1. nrvjain
    Member
    Posted 1 year ago #

    iam trying to implement my website theme into wordpress theme and iam new to this and iam facing problem with css class which i use in html website how i can implement that in word press here that code is can any one help me....

    --------------Start My HTML Website footer code is :
    <div class="footer_menu">

      <li.> Maps & directions<./li>
      <li.>Feedback<./li>
      <li class='last'">Contact us<./li>

    <ul class="terms">
    <li class="terms">Terms & Conditions <./li>
    <li class="last">Disclaimer<./li>
    <li class="lastcopy">© abc <./li>

    </div>
    -----------End HTML Website Footer Code

    -----------Word Press Footer code Start----------------
    Implementing in WordPress theme
    <div class="footer_menu">
    <?php wp_nav_menu( array('menu' => 'Footer') );?>
    <ul class="terms">
    <?php wp_nav_menu( array('menu' => 'Terms') );?>

    </div>
    ------------End Word press footer code-------------------

    When i see view source in word press then its showing this code due to this proper alignment is not coming of links

    ------------View Word press Source Code After execute Start-------------------
    <div class="footer_menu">
    <div class="menu-footer-container">
    <ul id="menu-footer" class="menu">
    <li id="menu-item-13" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-13">Maps & directions<./li>
    <li id="menu-item-14" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-14">Feedback<./li>
    <li id="menu-item-15" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-15">Contact Us<./li>

    </div>

    <ul class="terms">
    <div class="menu-terms-container">
    <ul id="menu-terms" class="menu">
    <li id="menu-item-18" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-18">Terms & Conditions<./li>
    <li id="menu-item-19" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-19">Disclaimer<./li>
    <li id="menu-item-20" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-20">abc<./li>

    </div>
    </div>

Topic Closed

This topic has been closed to new replies.

About this Topic