Skip to content

Instantly share code, notes, and snippets.

@aurooba
aurooba / acf-php-to-json.php
Created February 14, 2021 18:39 — forked from ollietreend/acf-php-to-json.php
Convert Advanced Custom Fields Pro configuration from PHP to JSON.
<?php
/**
* Plugin Name: Convert ACF PHP to JSON
* Description: Convert Advanced Custom Fields Pro configuration from PHP to JSON.
* Author: Ollie Treend
* Author URI: https://gist.github.com/ollietreend/df32c5cbe2914f6fc407332bf6cbfca5
*/
namespace ConvertAcfPhpToJson;
@aurooba
aurooba / CK-Pro-User-Styles.css
Last active February 15, 2021 17:49 — forked from alexknowshtml/CK Pro User Styles
Tweaked Alex Hillmans CL Pro User Styles to reflect CK changes
/* After switching stackingthebricks.com to ConvertKit in the last few months, I found a handful of things */
/* that seemed to slow me down/force additional scrolling, so I tried hiding them from the UI with these UserStyles */
/* Obviously, these are without warrantee and could potentially break, so don't blame me if they do. */
/* Also, I am not a designer so these may not make the UI better in _your_ eyes, but they make it better for me. 😅 */
/* Hide the dashboard graph (not useful enough to be there taking up 3/4 of the screen real estate every time I log in) */
.subscribers-index div[data-component='ReportsContainer'] {
min-height: 100px !important;
background: transparent;