Skip to content

Instantly share code, notes, and snippets.

@thommeredith
Last active February 14, 2019 21:49
Show Gist options
  • Save thommeredith/facc580f7a53e1348fe6f5a746fefc32 to your computer and use it in GitHub Desktop.
Save thommeredith/facc580f7a53e1348fe6f5a746fefc32 to your computer and use it in GitHub Desktop.
<section class="mrh-wrapper"
data-number-of-columns="3"
data-enable-pagination="true"
data-per-page="12"
data-theme="dark-theme"
data-information-displayed='["name","breed","gender","age","height"]'
data-button-types="solid-rectangular"
data-button-color="#0c02d8"
data-contact-button-label="Contact Us"
data-contact-email-address="{YOUR-EMAIL-ADDRESS}"
data-detail-button-label="Listing Detail"
data-enable-lightbox="true"
data-enable-filtering="true"
data-filters='["breed","gender","age"]'
data-enable-name-search="true"
data-token="{YOUR-TOKEN}"
data-oldest-first="false">
<div id="mrh"></div>
</section>
<script>window.jQuery || document.write('<script src="https://code.jquery.com/jquery-3.3.1.min.js"><\/script>')</script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/axios/0.18.0/axios.min.js"></script>
<script src="https://www.myrighthorse.org/listing-widget/dist/scripts/mrh-app.js"></script>
<link rel="stylesheet" href="https://www.myrighthorse.org/listing-widget/dist/styles/mrh-app.css">
@thommeredith
Copy link
Author

Make sure to add your email address and token, include jquery, axios and the script and you will be all set.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment