WordPress.org

Ready to get started?Download WordPress

Forums

Display Blogname in the Post Title (4 posts)

  1. member11
    Member
    Posted 3 years ago #

    I'm using multisite with the sitewide tags plugin and want to differentiate all of the posts being aggregated from my network by showing the blogname above each post headline on the global post home page.

    Does someone have an idea of the function that would control the blogname display in this case?

    thanks
    Paul

  2. chinmoy
    Member
    Posted 3 years ago #

    <?php bloginfo("name") ?> put this before the title;

  3. member11
    Member
    Posted 3 years ago #

    thanks chinmoy29

    I actually tried dropping this code in as part of a custom function

    echo '<div id="blog_name"> ' . get_bloginfo ( 'name' ) . ' </div> ';

    It works, except that it pulls in the blogname for the 'global tags' blog instead of the specific blogname for each aggregated post from the network.

    Any ideas on how to make it specific to each post's blogname rather than the 'global tags' blog?

    thanks

  4. chinmoy
    Member
    Posted 3 years ago #

    till I haven't worked on multisite blog. I think that it will solve by "CUSTOM FIELD".

    Also u will wait for any other clue.

Topic Closed

This topic has been closed to new replies.

About this Topic