You need to log in to create posts and topics.

Display the number of pages in the topic

Hello
How to make the last page number appear instead of “Last”?

Uploaded files:
  • 2019-07-17_09-36-54.png

Hello @sergey

Currently this only can get changed by directly modifying some code in the wp-content\plugins\asgaros-forum\includes\forum-pagination.php file around line 29:

echo '<a href="'.$link.'">'.__('Last', 'asgaros-forum').'&nbsp;&raquo;</a>';

Change it to:

echo '<a href="'.$link.'">'.$num_pages.'</a>';

 

If you want to support the development of Asgaros Forum, you can leave a good review or donate. Thank you very much!

After the update, the setting will fly off?

I dont plan to add an extra option for this because this is just a cosmetic change and not a functionality.

If you want to support the development of Asgaros Forum, you can leave a good review or donate. Thank you very much!

I have added the pagination function on my website by added the code updated in this thread.