1

Here's the scenario

I have a bunch of blogs to be displayed. 9 blogs with short description in a grid, and then click on the caption to read more of the blog

the blog grid url is www.mysite.com/person1/blog

on clicking the channel entry it takes me to the more detailed view. The url looks like this www.mysite.com/person1/blog/blog-with-url

the url title of the channel entry is blog-with-url I have accomplish this. What I am not able to achieve is, that I pagination to navigate to the next and the previous blog post. How should I do that?

  • Are the blogs in the same or separate channels? Can you post an example of your entries tag pair? – Jean St-Amand Jun 12 '14 at 15:20
3

With - http://ellislab.com/expressionengine/user-guide/add-ons/channel/entry_linking.html

{exp:channel:next_entry}
<p>Next entry: <a href="{path='site/comments'}">{title}</a></p>
{/exp:channel:next_entry}

{exp:channel:prev_entry}
<p>Previous entry: <a href="{path='site/comments'}">{title}</a></p>
{/exp:channel:prev_entry}
| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.