0

In considering using a Stash list in order to get custom ordering of Previous/Next entries, I see that the docs provide only limited tags to use in the pagination function:

    {previous_page}
                <li><a href="{pagination_url}" class="page-previous">Previous Page</a></li>
    {/previous_page}

Are the other list variables available here as well? Previous entry title? etc..

  • Are you talking about pagination, or prev/next entry linking? By definition, pagination URLs cannot have entry titles or anything else, because each page contains more than a single entry. – Derek Hogue Nov 5 '14 at 20:00
  • Pagination in stash lists has all of these options available as well as custom entry ordering, so I'm asking specifically about Stash. EE doesn't offer this with previous/next entry linking (but it would be great if it did!) – Petroglyph Creative Nov 5 '14 at 20:08
  • 1
    Ah, gotcha. FY the next/prev entry links do have undocumented {prev_entry->title} and {next_entry->title} variables. – Derek Hogue Nov 5 '14 at 21:13
  • 1
    Stash's pagination just loads the native EE pagination library so I think you're going to be out of luck. – Tyssen Nov 6 '14 at 6:14
0

Thanks to Croxton for this answer on Twitter:

no prev/next row vars but would be easy to get w/ simple plugin or maybe mx_calc used to calculate get_list offset param.

| 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.