Skip to content

Instantly share code, notes, and snippets.


Rolf Allard van Hagen RavanH

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.