WordPress.org

Ready to get started?Download WordPress

Forums

Adjust pagination when new data added to page (4 posts)

  1. xavier039
    Member
    Posted 4 years ago #

    I recently have begun to switch the design of my site over to wordpress but am obviously having issues with it. The big thing I would like to do is work with pagination. I would like to be able to add something new to the top of the content on the page and have the last entry drop over to the next page.

    Here is the old site's page: http://tomroof.com/tnoe/film-reviews.php

    Here is the new page: http://02f5cdd.netsolhost.com/blog/about/reviews

    What I am looking for is a way that when a new review is added the oldest one moves over to the next page.

    I would also love to get the javascript to also work so that is doesn't have to load a new page but rather just slide the content over. But I'll go one step at a time.

    Thank you!!

  2. pizza boy
    Member
    Posted 4 years ago #

    I assume you post each review as a blog post. In this case you would go to wp-admin find appearance menu and click the theme that you are running. you should land at wp-admin/themes.php?page=functions.php Find Number of posts to show and set to 1, any new post will send the existing to page 2

  3. xavier039
    Member
    Posted 4 years ago #

    Actually each review is not being posted as a blog post. I have multiple pages on this site that I would like to run in a similar fashion.

  4. pizza boy
    Member
    Posted 4 years ago #

    Ok I understand, You want each category to show as an independant page where as showing 1 single post for that category then dropping to second page of that category when a new post is made to that category.

    If my assumption is correct you would need to look at custom theme building and making seperate category php files and telling each how many posts to show.

    <?php echo get_category_link($featuredpostscat1);?>"><?php if(strlen($featuredpostscatname1) > 61){ $featuredpostscatname1=LimitText($featuredpostscatname1,10,61,""); $featuredpostscatname1.="&raquo;"; } echo $featuredpostscatname1; ?>

    This can be done and has several things that need to be built. You should seriously consult a theme builder, one I can think of that knows his way around this type of request would be http://www.antisocialmediallc.com/

Topic Closed

This topic has been closed to new replies.

About this Topic