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
/** | |
* Export users to a CSV file. | |
* | |
* ## OPTIONS | |
* | |
* <file> | |
* : The CSV file to export users to. | |
* | |
* ## EXAMPLES | |
* |
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 if ( function_exists('yoast_breadcrumb') ) { | |
yoast_breadcrumb('<nav class="breadcrumbs" role="navigation">','</nav>'); | |
} ?> |
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
/** | |
Change the wrapper of breadcrums to span to ul | |
**/ | |
function change_breadcrumb_output_wrapper($old){ | |
return "ul"; | |
} | |
add_filter( 'wpseo_breadcrumb_output_wrapper', 'change_breadcrumb_output_wrapper' ); | |
/** |
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
function spacedmonkey_pages($old){ | |
$old['before'] = '<ul class="pagination"><li class="disabled"><span>Pages: </span></li>'; | |
$old['after'] = '</ul>'; | |
$old['link_before'] = '<span class="">'; | |
$old['link_after'] = '</span>'; | |
return $old; | |
} | |
add_filter( 'wp_link_pages_args', 'spacedmonkey_pages' ); |
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
/** | |
* Load the plugin text domain for translation. | |
* | |
* @since 2.0 | |
*/ | |
public function load_plugin_textdomain() { | |
$domain = $this->plugin_slug; | |
$locale = apply_filters( 'plugin_locale', get_locale(), $domain ); | |
NewerOlder