This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| ############################## | |
| ########### Search ########### | |
| ############################## | |
| */ | |
| /** | |
| * | |
| * [list_searcheable_acf list all the custom fields we want to include in our search query] | |
| * @return [array] [list of custom fields] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * Plugin Name: Field Group Location: Post Type Supports | |
| * Plugin URI: http://qwp6t.me/acf-post-type-supports | |
| * Description: Adds ACF Field Group location rule for Post Type Support. NOTE: You must first declare the supported feature in your theme. | |
| * Version: 1.0.0 | |
| * Author: QWp6t | |
| * Author URI: http://qwp6t.me | |
| * License: MIT License | |
| */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import d3 from 'd3'; | |
| // https://gist.github.com/mbostock/1340727 | |
| // | |
| // const m = `matrix(1.1, -0.1, 0, 1, 0, -20)`; | |
| // console.log(decomposeMatrix(m).toString()); | |
| const d3_transformDegrees = 180 / Math.PI; | |
| export default function(string) { |