Skip to content

Instantly share code, notes, and snippets.

View Plaristote's full-sized avatar

Plaristote

  • PlanEd
  • Bilbao, Spain
View GitHub Profile
@Plaristote
Plaristote / SassMeister-input.scss
Created May 5, 2014 12:09
Generated by SassMeister.com.
// ----
// Sass (v3.3.6)
// Compass (v1.0.0.alpha.18)
// ----
// Item list display
table.ms-listviewtable {
img { max-width: 100px; max-height: 100px; }
}
@Plaristote
Plaristote / wp-infinite-scroll.js
Created October 9, 2024 16:17
Simple infinite scroll implementation for wordpress themes
/*
* The InfiniteScroll object fetches the HTML of the next page
* as soon as the "anchor" element (typically, the wordpress
* pagination element) becomes visible on screen.
*
* It then uses "postSelector" and "containerSelector" to extract
* posts from the page and append them to the current page.
*
* Example:
*