Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
sample front end for swap.js
<div id="swap-this" data-swap='{"small":"home-small.php", "medium":"home-large.php"}' data-pid="<? echo get_queried_object_id()?>">
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment