Wordpress MU - Get Info for Current Blog


/ Published in: PHP
Save to your folder(s)



Copy this code and paste it in your HTML
  1. global $blog_id;
  2. $blog = get_blog_details($blog_id);
  3.  
  4. $name = $blog->blogname;
  5.  
  6. // See: http://codex.wordpress.org/WPMU_Functions/get_blog_details

URL: http://codex.wordpress.org/WPMU_Functions/get_blog_details

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.