1. bb_new_topic_link

  2. sunshine.by
    Хранители

    bb_new_topic_link outputs the link for creating a new Topic.

    A trciky one, actually, since basically what is does - it checkes where you are and if the Post-Form is present, links to it.

    Useful only for creating UI navigation, the bb_new_topic_link() function still has arguments:

    text = Add New >>;
    forum = 0;
    tag = null

    text - is an argument for the bb_new_topic_link() which is displayed to the final user. Ready for trsnlation, but since we canot rely on what language the bbPress installation is using, we have to come up our own.

    The following code in Topic named bbPress
    bb_new_topic_link(\'text=Add New topic to \'.get_forum_name().\')
    will result in a link:
    Add New topic to bbPress

  3. Ответить в тему bb_new_topic_link

    Вы должны авторизоваться, чтобы публиковать сообщения.