Skip to content
WJunction - Webmaster Forum

Removing Category From Topic Title

Status
Not open for further replies.
Hello,

I want to remove forum name from topic title in meta.For example if a topic is in "Wordpress" category will have the name "Best Wordpress Themes - Wordpress".

This is the code im using right now:
Code:
$extra_title = ($start > 0) ? ' - ' . $user->lang['Page'] . ( floor( ($start / $config['posts_per_page']) ) + 1 ) : '';
page_header($topic_data['topic_title'] . ' : ' .  $topic_data['forum_name'] . $extra_title);

I know that this code is the problem : ' . $topic_data['forum_name'] but i can't remove it without errors.


Tried also:
Code:
page_header($topic_data['topic_title']);

but will not display the page number if the topic has more pages (Topic Name - Page X)

Any help will be appreciated.
Thanks.
 
Status
Not open for further replies.

About the author

X
Active Member · Joined
297
Messages
175
Reactions
43
Points

Advertise on WJunction

Reach 1000's of webmasters, hosts & affiliates. Banner & sponsored-thread slots available.

Contact us
Back
Top Bottom