Is there a way to get links to all galleries?
Let's say, I create a custom template page called "All galleries". And in this page I need to place some code which would list all currently existing galleries.
So resulting HTML would like something like:
<ul>
<li><a href="/wp-content/gallery/gallery1_folder">Name Of Gallery 1</a></li>
<li><a href="/wp-content/gallery/gallery2_folder">Name Of Gallery 2</a></li>
<li><a href="/wp-content/gallery/gallery2_folder">Name Of Gallery 3</a></li>
</ul>
I know this can be done manually or via shortcodes, but not when you've got more than a hundred of folders...
If it's paginated, say 10 or 20 links per page, that'd be perfect at all.