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 | |
function create_custom_taxonomy() { | |
// Add new taxonomy, NOT hierarchical (like tags) | |
$labels = array( | |
'name' => _x( 'Academic Department or Program Tag', 'taxonomy general name' ), | |
'singular_name' => _x( 'Academic Department or Program Tags', 'taxonomy singular name' ), | |
'search_items' => __( 'Academic Department or Program Tags' ), | |
'popular_items' => __( 'Popular Academic Department or Program Tags' ), |
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 | |
function smcm_pull_faculty_from_directory() { | |
//Get the slug of the calling site... array element [3] | |
$site_slug = explode ("/", get_site_url()); | |
// blog id of the directory | |
$blog_id = 7; |