WordPress.org

Ready to get started?Download WordPress

Forums

how to adapt my-sites php (3 posts)

  1. McJoost
    Member
    Posted 1 year ago #

    I would like to adapt my-sites.php.
    Now members see the titles of their subsites, in code <h3>{$user_blog->blogname}</h3>.
    I want to add the blog description to the blogname like <p>{$user_blog->bloginfo} </p> or something.

    Can someone show me the right code?

  2. McJoost
    Member
    Posted 1 year ago #

    <p>{$user_blog->blogdescription}</p> is not the solution.

  3. Don't edit that file directly, it'll break things when you upgrade.

    You'd want to filter it. I think you can use the idea in this plugin to craft one: http://wordpress.stackexchange.com/questions/35087/need-help-sorting-my-sites-alphabetically

Topic Closed

This topic has been closed to new replies.

About this Topic