Skip to:

Template tags

  • Avatar of @ChrisClayton


    One question that has been buzzing around my head lately… is their any benifits of using Buddypress’ template tags, when their’s a wordpress function that does the same thing?

    For example:
    – bp_site_name() seems to be the same as bloginfo(‘name’)

    When developing a site, Which one is recommended?

Viewing 3 replies - 1 through 3 (of 3 total)
  • For that one, suggest you look at the code and if it could be done filtered onto WordPress’ function. Raise a ticket if you think we’ve overlooked something, we may well have :)

    Avatar of @ChrisClayton


    @DJpaul it is hooked into wordpress’ function, so yeah, nothing was missed (…i think) :) lol

    I was just curious as to why it exists in the first place as i was looking through the bp default theme and noticed it in the header.php file. is it just an old function from the golden days, or should buddypress themes use that function instead of get_bloginfo?

    Not sure why it’s there. We’re not filtering it. Raise a ticket.

Viewing 3 replies - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.