Linking back to word press site

For support and discussion related to templates, themes, and imagesets in phpBB 3.0.
Ideas Centre
Locked
the_stig
Registered User
Posts: 7
Joined: Fri Jun 10, 2011 11:59 am

Linking back to word press site

Post by the_stig » Tue Jun 14, 2011 2:35 pm

Hi all, Ive created a wordpress site and phpbb and linked the site to the board.

Now i want to link back from the board to the main site. At the top of the board i can see a link mydomain.com, which I assume i can edit to link back to my wp site, right? But how?

User avatar
Lumpy Burgertushie
Registered User
Posts: 66267
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: Linking back to word press site

Post by Lumpy Burgertushie » Tue Jun 14, 2011 3:20 pm

open overall_header.html for whatever style you are using.
find:

Code: Select all

<a href="{U_INDEX}" title="{L_INDEX}" id="logo">{SITE_LOGO_IMG}</a>
				<h1>{SITENAME}</h1>
replace with:

Code: Select all

<a href="http://linkback to your page" title="{L_INDEX}" id="logo">{SITE_LOGO_IMG}
				<h1>{SITENAME}</h1></a>
this will change your logo and the mydomain.com text into a link back to your main page.


if you really only want the mydomain text then do it this way:

Code: Select all

<h1>{SITENAME}</h1>
change to:

Code: Select all

<h1><a href="http://linkto your page">{SITENAME}</a></h1>
remember, you have to use ftp to download the file to your computer and use a text editor to make the changes and then upload back and then refresh your template from the admin panel/styles section.

also, just for info... that text that says "mydomain" will be changed from the admin panel main configuration section when you enter something in the box.

luck,
robert
I am available for custom work on a donation basis. Please send me a PM with your needs.

Premium phpBB 3.2 Styles by PlanetStyles.net

OK, so what's the speed of dark?

the_stig
Registered User
Posts: 7
Joined: Fri Jun 10, 2011 11:59 am

Re: Linking back to word press site

Post by the_stig » Tue Jun 14, 2011 3:28 pm

Hey Robert,

thanks for the speedy response, I shall try that!

Dan

Locked

Return to “[3.0.x] Styles Support & Discussion”