Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Help with an if/then statement

excellent! thank you very much.

one more question in regards to the same thing:

function post_form( $h2 = ” ) {

global $bb, $page, $topic, $forum;

$add = topic_pages_add();

if ( empty($h2) && false !== $h2 ) {

if ( is_topic() )

$h2 = __(‘Reply’);

elseif ( is_forum() )

$h2 = __(‘New Topic in this Forum’);

elseif ( is_bb_tag() || is_front() )

$h2 = __(‘Add New Topic’);

}

how do i change the text that says ‘add new topic’ like i did with your “post_form(‘Take some Pizza’)”. i can’t find where to change that.

also, if i wanted to add two line breaks above the <h2>, how would i do that other than in template-functions.php?

thanks so much for your help.

Skip to toolbar