Next and Previous Buttons/Links

  • Author
    Posts
  • #1275873

    Hello,
    I am working in Twenty Eleven theme and I am wondering if it is possible to make the blog only have one post per page and then have a next and previous button at the bottom?

    Please help I am quite new so I am not exactly sure what is and not possible, Thank you

    The blog I need help with is the-apposite.com.

    #1275973

    justpi
    Member

    Since you have the Custom Design upgrade, it’s possible. You set the number of posts per page to 1 in Settings > Reading, and you add a bit of coding in the CSS editor – see this post of mine, near the bottom:
    http://wpbtips.wordpress.com/2012/06/05/disabling-infinite-scrolling/

    #1275974

    Thank you so much @justpi!

    Just another question,
    Can I center the post titles?

    Thank you

    #1275979

    justpi
    Member

    You’re welcome.

    To center the post titles, add this:

    .entry-title {
        padding-right: 0;
        text-align: center;
    }

    #1275980

    Thank you Thank you Thank you!
    I have been trying to find this code for two days!!!!
    THANK YOU!!!

    Every post will have an image before any text, is there any chance I can decrease the space between the post title and the image of the post?

    #1275983

    justpi
    Member

    You’re welcome!

    Add this rule to my previous suggestion:
    padding-bottom: 0;
    And add this as well:

    .entry-content, .entry-summary {
        padding-top: 0.6em;
    }

    Change the value to adjust.

    #1276072

    so add

    padding-bottom: 0;

    to

    .entry-title {
    padding-right: 0;
    text-align: center;
    }

    to make it

    .entry-title {
    padding-right: 0;
    text-align: center;
    padding-bottom: 0;
    }

    ?

    sorry I don’t really understand coding :/

    thank you again!

    #1276105

    justpi
    Member

    Yup!

    #1276132

    I was going to post another topic for this but I thought that since you already know what I’m doing I’d ask you first.

    So now that each post is on a different page, is it possible to add a page where I can click and see all the posts as thumbnails?

    Thank you

    #1276134

    justpi
    Member

    Yes it’s possible. One way to do it is the display-posts shortcode:
    http://en.support.wordpress.com/display-posts-shortcode/

    PS This has nothing to do with CSS editing or with the title of this thread, so yes, better post each different question as a separate topic, for the sake of other users who might look for the same question.

    #1276160

    Thank you again @justpi!

The topic ‘Next and Previous Buttons/Links’ is closed to new replies.