That functionality isn’t built-in currently, but you can add it easily by copying wp-content/plugins/a-z-listing/templates/a-z-listing.php into your theme/child-theme and adding the required links.
Specifically you need to add links which point their href to #letters:
<!-- ... snipped ... -->
<div class="letter-section" id="<?php $a_z_query->the_letter_id(); ?>">
<h2>
<span><?php $a_z_query->the_letter_title(); ?></span>
</h2>
<div><ul>
<!-- ... snipped ... -->
</ul></div>
<a href="#letters">Back to top</a>
</div>
<!-- ... snipped ... -->
You might want to use the theme customizer’s “custom css” feature to add some styles to make it look nicer.
Hello I would like very much this feature on the plugin. Thanks
I’m adding a back-to-top feature in the upcoming 1.9.0 which will change the templates in the plugin. If you’ve modified the template or copied it into your theme then either:
- check the changes when the release lands to merge with your copy,
- replace with the newer template, or
- remove the template from your theme to revert to the stock one from the plugin.