1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Disable paging on homepage like mydomain.com/page/1

Discussion in 'WordPress' started by Jalpari, Mar 7, 2011.

  1. #1
    I build a home.php but how do I disable the paging functionality?
     
    Jalpari, Mar 7, 2011 IP
  2. adbox

    adbox Well-Known Member

    Messages:
    906
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    155
    Digital Goods:
    1
  3. Jalpari

    Jalpari Notable Member

    Messages:
    5,640
    Likes Received:
    137
    Best Answers:
    0
    Trophy Points:
    260
    #3
    Jalpari, Mar 8, 2011 IP
  4. adbox

    adbox Well-Known Member

    Messages:
    906
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    155
    Digital Goods:
    1
    #4
    I'm not understanding the question, screen shots?
     
    adbox, Mar 8, 2011 IP
  5. Jalpari

    Jalpari Notable Member

    Messages:
    5,640
    Likes Received:
    137
    Best Answers:
    0
    Trophy Points:
    260
    #5
    pm u site url
     
    Jalpari, Mar 8, 2011 IP
  6. Dodger

    Dodger Peon

    Messages:
    1,494
    Likes Received:
    60
    Best Answers:
    0
    Trophy Points:
    0
    #6
    On your home.php, you should have code that displays those links. It may look something like this:

    
    <?php posts_nav_link('separator','prelabel','nextlabel'); ?>
    
    Code (markup):
    If you have the prev/next links in single.php and want to remove those, look for something like this:

    
    <?php previous_post_link(); ?>    <?php next_post_link(); ?>
    
    Code (markup):
     
    Dodger, Mar 8, 2011 IP
  7. johntid

    johntid Peon

    Messages:
    5
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    it's important that you have wordpress installed on the main domain and not in a sub directory like /page/
     
    johntid, Mar 9, 2011 IP
  8. kalpanarai

    kalpanarai Peon

    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #8
    :(

    i am working on classifiedsduniya.com and my home page "paging" is not working.

    please suggest me that how can i remove 'paging'.

    Thanks and Regards
     
    kalpanarai, May 24, 2012 IP
  9. adbox

    adbox Well-Known Member

    Messages:
    906
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    155
    Digital Goods:
    1
    #9
    I'd look at your source code and find out what the class name of the div that surrounds the pagination is, and then go into the template editor and look for that class name in one of the files.
    When you find it, remove that block of code contained within the divs. I'd backup the file first!
     
    adbox, May 24, 2012 IP
  10. kalpanarai

    kalpanarai Peon

    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #10
    :(

    i am working on classifiedsduniya.com and my home page paging is not working.

    i want to delete the pagination..anyone can help me to delete pagination (only for home page)

    Please help me i am very frustrated with wordpress 3.3.2


    Thanks
     
    kalpanarai, Jun 5, 2012 IP
  11. adbox

    adbox Well-Known Member

    Messages:
    906
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    155
    Digital Goods:
    1
    #11
    I believe in your main_index.php template file you'll have a div container that has this class name: paging , if you remove it with the code inside the pagination should disappear on the homepage.
     
    adbox, Jun 5, 2012 IP