Topic: How do I change the <TITLE> of the pages.
I wish to change the <TITLE> tag of the pages from say
<title>PunBB.org Forums / Post new topic</title>
to
<title>Post new topic / PunBB.org Forums</title>
Any help would be appreciated
You are not logged in. Please login or register.
PunBB Forums → PunBB 1.2 modifications, plugins and integrations → How do I change the <TITLE> of the pages.
I wish to change the <TITLE> tag of the pages from say
<title>PunBB.org Forums / Post new topic</title>
to
<title>Post new topic / PunBB.org Forums</title>
Any help would be appreciated
In post.php, search for
$title =
Then change to whatever you like
I could not find $title in post.php.
Infact I would like to change the HTML TITLE META TAG of all the pages to the example given below:
<title>PunBB.org Forums / Post new topic</title>
to
<title>Post new topic / PunBB.org Forums</title>
The variable is $page_title. Here is the relevant line from viewforum as an example
$page_title = pun_htmlspecialchars($pun_config['o_board_title'].' / '.$cur_forum['forum_name']);
You can see all you have to do is reverse the order of the variables. Trouble is you do need to do it for each php file.
Oh, so I was a bit off
PunBB Forums → PunBB 1.2 modifications, plugins and integrations → How do I change the <TITLE> of the pages.
Powered by PunBB, supported by Informer Technologies, Inc.