Это даст вам просто простую кнопку «Далее» для работы.
protected
# Tells WP how to render the "Next Page" link
def next_page
# The only difference from the default here is we renamed the link to "More"
# and added a custom class, twitter_pagination
previous_or_next_page(@collection.next_page, "Next", 'twitter_pagination') if @collection.next_page
end
# Remove all links except our :next_page
def pagination
[ :next_page ]
end
Дайте нам знать, как вы ладитеВот отличные сообщения в блоге , которые вы также должны прочитать.Дайте нам знать, как вы поживаете.Всего наилучшего.