All Posts by Email, Once a Week

Media Temple logo

CSS-Tricks is brought to you in part by Media Temple, the web hosting that we both use and recommend.

Pagination problems with custom website

# October 13, 2012 at 5:45 pm

Seems can’t post the functions code here ’cause it’s to long..:/

# October 13, 2012 at 7:45 pm

try or or

# October 13, 2012 at 9:40 pm

This is the function.php code

Home.php and index.php

What is wrong?

# October 14, 2012 at 5:51 am line 27 , you did not pass current page number.

# October 14, 2012 at 2:01 pm

oki, so what do i need to put in? i’m kind of new to php, doing my best. :)

# October 15, 2012 at 6:11 am

anyone that knows what mweldan means?

# October 15, 2012 at 6:44 am

i put this code in there

< ?php query_posts( array(
‘posts_per_page’ => 5,
‘paged’ => ( get_query_var(‘paged’) ? get_query_var(‘paged’) : 1 ),

# October 15, 2012 at 6:57 am < - i can see your pagination working. what is the problem? page 2 – first result is chris zurbigg blue pencil
page 3 – first result is scribblertoo mario klingemann

awesome short films though. he he

# October 15, 2012 at 9:03 am

Got it fixed, now i want next and previous in the single page, but..i’m little confused..

# October 15, 2012 at 9:06 am

thank you, i’m fixing everything. Those old post i’m going to delete. The new white one counts.. I going to hire a writer, my english is no the best..hehe :)

# October 15, 2012 at 9:20 am

So, that is next problem..fixing the previous – next in the single page below the blogphoto so they user can paginate to next article… :)

# October 15, 2012 at 11:46 am

which one we currently talking about:

1. image slideshow in front page? i can see it got prev – next link. it works ..
2. single post page? no prev next link? check this:

# October 15, 2012 at 6:15 pm

Thank you man! I fixed that now, the only thing i’m thinking of , like having at the of the content next article but that feed some information of the next article, like and excerpt..with a little image, Is it possible?

Viewing 15 posts - 1 through 15 (of 18 total)

You must be logged in to reply to this topic.

There's a whole bunch of content on CSS-Tricks.

Search for Stuff   •   Browse the Archives

Get the Newsletter ... or get the RSS feed