Skip to content

Instantly share code, notes, and snippets.

View stephenscaff's full-sized avatar

Stephen Scaff stephenscaff

View GitHub Profile
@baktiaditya
baktiaditya / Cursor.tsx
Last active January 15, 2024 17:26
Modified version of react-animated-cursor
import React, { Fragment } from 'react';
import { isDevice, usePrevious } from './helpers';
type CursorProps = {
color?: string;
hideNativeCursor?: boolean;
innerAlpha?: number;
innerScale?: number;
innerSize?: number;
outerAlpha?: number;
@tdwesten
tdwesten / Fieldattributes-Cheatsheet.md
Last active February 16, 2023 20:33
Fields attributes cheatsheet

Fields attributes cheatsheet

This is a overview of all default attributes associated with the different ACF(pro) fields. This Cheatsheet is quite handy when creating ACF fields with the StoutLogic Acf Builder.

Last update: 27/09/2017 ACF version: 5.6.2

Text field

$attributes = [
    'default_value' => '',
@zoerooney
zoerooney / page-gallery.php
Last active April 6, 2021 14:29
Gallery page using ACF PRO with a dynamically generated zip file download of all gallery images. More info/ tutorial here: http://zoerooney.com/blog/tutorials/wordpress-gallery-with-automated-zip-file-download/