Skip to content

Instantly share code, notes, and snippets.

Rolf Allard van Hagen RavanH

Block or report user

Report or block RavanH

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
RavanH / blogs-menu.php
Last active Sep 20, 2017
WordPress Multisite: List of all blogs
View blogs-menu.php
function projects_menu( $atts = array() ) {
global $wpdb, $blog_id;
$a = shortcode_atts( array(
'link_self' => false,
'format' => 'ul', // ol, dl... TODO
'slogan' => false, // TODO
'sort_by' => 'title', // or ID TODO
You can’t perform that action at this time.