Add a “see all new listings” button to Real Geeks property pages
As requested by a member of the Real Geeks Mastermind Group, this code will inject a button on all listings that will link the user back to all the newest listings of a Real Geeks users’ website, sorted by newest. Just install the code below in the footer.
<script> const slideshow = document.querySelector('.slideshow'); if (slideshow) { const newHtml = ` <div class="all-list-btn" style="display: flex; align-items: center; justify-content: center; padding-top: 20px;"> <a href="/search/results/?sort_latest=true/"> <button style="margin-bottom: 0; border-radius: 10px; font-weight: 500; background: black;"> See all newest listings </button> </a> </div> `; slideshow.insertAdjacentHTML('afterend', newHtml); } </script>