Hi aleksandr,
thanks for the great advise! Yours is actually a very nice solution and would actually work for me and most other users!
What I like about your solution, the anchor is not visible and the implementation is super fast and easy. Sadly, this feature is not very well documented on the Wrap plugin homepage, so I was not aware of this.
In the meantime, I managed to create a "Down (to the end of page) Button", as intented, just based on a copy of the "Top Button", defined as a menu item in a file called Top.php, which is essentially a very similar function and can be found in the dokuwiki/Menu/Item directory. I copied the file, renamed it to Down.php and overwrote the parameters, accordingly. The new Down Button can now be integrated into the Page Tools Menu by appending it to the list of default menu items in the PageMenu.php.
After a few more steps, eventually, the button is displayed at the desired position in the Page Tools Menu. It works and looks great. The tricky part was to set up an anchor inside the page footer. But I managed to get this to work by following this thread, thanks to turnermm!:
turnermm <?php echo p_wiki_xhtml(:wherever:my_stuff); ?>
All in all, this task was rather complex. Some adjustments had to be made to css and several files had to be put in the right places, namely, the icon from MDI, pagefooter.html, dokuwikimarkup file (containing the anchor) and entry to the lang.php. Neat is, the solution works without any plugin. But, I don't want to bore you with the details here. However, if requested, I would be willing to share them.
Yours, Chris