How to change next page ,prev page in my blogger ?

Discussion in 'Blogging' started by Gr@1ti, Jul 3, 2014.

  1. #1
    Hello all.
    How to change next page ,prev page in my blogger.
    I want to wean next and prev page button and you replace them in page navigation.
    [​IMG]

    I want that my blog seems so :
    [​IMG]

    I also want to remove this part of the post in which is shown for time in which it is posted and the number of comments.
    [​IMG]

    Thank you very much if you can help me on these problems.
     
    Last edited: Jul 3, 2014
    Gr@1ti, Jul 3, 2014 IP
  2. Mario Balotelli

    Mario Balotelli Greenhorn

    Messages:
    1
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    21
    #2
    you can try use Inspect elements in google chroom
     
    Mario Balotelli, Jul 4, 2014 IP
  3. AlbCoder

    AlbCoder Well-Known Member

    Messages:
    126
    Likes Received:
    1
    Best Answers:
    1
    Trophy Points:
    163
    #3
    I'm not a blogger user but a fast google search and I found this one http://www.bloggerrecipes.com/2014/05/blogger-numbered-pagination.html
    or you can see more results https://www.google.it/?gws_rd=ssl#q=blogger+numbered+pagination+tutorial
     
    AlbCoder, Jul 4, 2014 IP
  4. kanha sahu

    kanha sahu Member

    Messages:
    42
    Likes Received:
    1
    Best Answers:
    2
    Trophy Points:
    38
    #4
    your page is completely dynamic....
    means you handled your data using database.....

    just use the select Query and you get the no. of items found[found]
    no. of items found[found] divided into pages....

    if your page contain only 20/100
    than page will be 1to 5, here i write the php code :- concept is same in every language

    searcq2wedwh.png searcq2wedwh.png
    <?php
    /* connect to database */
    ?>
    <div class="paging">
    <ul>
    <?php

    $result=1500;
    $pgcounter=$result/50;
    if($pgcounter > intval($pgcounter)){$pgcounter+=1;}
    $pgd=2;
    $pgc=0;

    ?>
    <li><?php if($pageno > 1){echo "<a href='#pageno=".($pageno - 1)."'>";}else{ echo "<a href='#'>";} ?> <img src="./images/circleleft32.png" /> </a></li>

    <?php
    if($pageno >= 3){

    if($pgcounter <= ($pageno + 4)){
    echo "<li><a href='#pageno=1'>1</a></li>";
    echo "<li><a href='#pageno=2'>2</a></li>";
    echo "<li><a href='#pageno=3'>3</a></li>";
    echo "<li>&nbsp; ....... &nbsp; </li>";
    }

    while($pgcounter>1 && $pgd >= 1 && $pgc < $pgcounter)
    {
    if($pageno == ($pageno - $pgd)){
    echo "<li class='selected'>";}
    else{
    echo "<li>";}
    echo "<a href='#pageno=".($pageno - $pgd)."'> ".($pageno - $pgd)." </a></li>";
    $pgd -= 1;
    }
    }

    ?>
    <?php

    while($pgcounter>1 && $pgc <= 5 && $pgcounter >= ($pageno + $pgc))
    {
    if($pageno == ($pageno + $pgc)){
    echo "<li class='selected'>";}
    else{
    echo "<li>";}
    echo "<a href='#pageno=".($pageno + $pgc)."'> ".($pageno + $pgc)." </a></li>";
    $pgc += 1;
    $npg=$pageno + $pgc;
    }

    ?>

    <?php
    $pgc=2;
    if(($pgcounter >= ($npg + 2)) && ($pgcounter >= 7)){
    echo "<li>&nbsp; ............ &nbsp; </li>";

    while($pgcounter>10 && $pgc <= 2 && $pgc >= 0 && $pgc < $pgcounter)
    {
    echo "<li>";
    echo "<a href='#pageno=".($pgcounter - $pgc)."'> ".($pgcounter - $pgc)." </a></li>";
    $pgc -= 1;
    }

    }
    ?>
    <li><?php if($pageno < $pgcounter){echo "<a href='#pageno=".($pageno + 1)."'>";}else{ echo "<a href='#'>";} ?> <img src="./images/circleright32.png" /> </a></li>
    </ul>

    </div>
     
    kanha sahu, Jul 12, 2014 IP
  5. kanha sahu

    kanha sahu Member

    Messages:
    42
    Likes Received:
    1
    Best Answers:
    2
    Trophy Points:
    38
    #5
    if simple static Page will be there, you only use
    <a href="#link" target=""> Link text</a>
     
    kanha sahu, Jul 12, 2014 IP