Jump to a specified position in WordPress Gallery Media Page Skin


WonderPlugin Gallery 4.6 or above


I am using WonderPlugin Gallery, the Media page skin.

Currently, when clicking on a thumbnail, the page will jump to the top of the gallery.

I wonder is there a way to jump to a specified position rather than the top of the gallery?


Yes, you can.

In your webpage, you can add a div and assign an id, for example:

<div id="jumptohere"></div>

Then in the plugin, step 3, Options tab, Advanced Options, you can enter the following text to the Advanced Options box:


A demo is as following. I have added the position div at the beginning of this post, so after clicking a thumbnail, it will just to the beginning of this post, instead of the top of the gallery.