This file contains 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
function custom_tax_init(){ | |
//set some options for our new custom taxonomy | |
$args = array( | |
'label' => __( 'My Custom Taxonomy' ), | |
'hierarchical' => true, | |
'capabilities' => array( | |
// allow anyone editing posts to assign terms | |
'assign_terms' => 'edit_posts', | |
/* but you probably don't want anyone |
This file contains 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 | |
///////////////////////////////////////////////////////////////////////////////////// | |
// Ask Wordpress to Embed Soundcloud’s Mini Player Instead of the Large Visual Player | |
///////////////////////////////////////////////////////////////////////////////////// | |
// Add function to theme’s functions.php file | |
// Relevant documentation: | |
// https://wordpress.org/support/topic/hookfilter-for-auto-embed-function-of-wp | |
// https://wordpress.org/support/topic/filter-hook-for-built-in-oembed-providers-eg-youtube | |
// https://developers.soundcloud.com/docs/oembed |
This file contains 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
.acf-fc-popup .preview { | |
position: absolute; | |
right: 100%; | |
margin-right: 0px; | |
top: 0; | |
background: #383c44; | |
min-height: 100%; | |
border-radius: 5px; | |
align-content: center; | |
display: grid; |