• Resolved silis25

    (@silis25)


    Hi,

    I want to add page Navigation to my website.
    It suppose to be simple but I’m not sure with all of the required steps.

    1. You can view the current and requested formats on the following picture:

    https://docs.google.com/open?id=0BwZbkmKisz_peUxyY0k5RUNUZlU

    2. I found the following code as a reference code but I want to adjust it according to my template.

    <div id="pagenav"><div class='wp-pagenavi'>
    <table id="pager_table" class="collapse" style="height: 56px; width: 595px;"><tr>
    <td style="width: 12px;"><a href='https://www.letthemstare.com/' class='first'>
    <span class="first_page"></span></a></td><td style="width: 67px;">
    <a href='https://www.letthemstare.com/' class='first'><span id="first_page_o"></span></a></td><td><span class='current'>1</span><span class="streck">-</span>
    <a href='https://www.letthemstare.com/page/2' class='page'>2</a><span class="streck">-</span>
    <a href='https://www.letthemstare.com/page/3' class='page'>3</a><span class="streck">-</span>
    <a href='https://www.letthemstare.com/page/4' class='page'>4</a><span class="streck">-</span>
    <a href='https://www.letthemstare.com/page/5' class='page'>5</a><span class="streck">-</span>
    <a href='https://www.letthemstare.com/page/6' class='page'>6</a><span class="streck">-</span>
    <a href='https://www.letthemstare.com/page/7' class='page'>7</a><span class="streck">-</span>
    <a href='https://www.letthemstare.com/page/8' class='page'>8</a><span class="streck">-</span>
    <a href='https://www.letthemstare.com/page/9' class='page'>9</a></td><td style="width: 67px;">
    <a href="https://www.letthemstare.com/page/2" class="nextpostslink"><span class="last_page"></span></a></td>
    <td style="width: 12px;"><a href='https://www.letthemstare.com/page/215' class='last'><span id="last_page_o"></span></a></td></tr></table>
    </div></div>

    My question is what are the steps that required for fully implementing this feature (an example with style definition would be great).
    Thanks and regards,

    Kfir Silis
    https://www.letthemstare.com

Viewing 2 replies - 1 through 2 (of 2 total)
  • The following will generate a menu, which you must first create in Appearance -> Menus

    <div id="nav">
             <?php wp_nav_menu( array('menu' => 'Main Menu' )); ?> <!-- Main Menu, created in Appearance -->
    </div>

    With the above example, you must name your menu “Main Menu” for it to recognize that that is the proper menu to use.

    Thread Starter silis25

    (@silis25)

    I overcome this problem with static pages in the index.php file.
    Thanks anyway for your help.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Add page Navigation to my website’ is closed to new replies.