The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Adding H2 Tags To Board Names On Forumhome
How do I add H2 tags around the board names on my forumhome? I've done it with JQuery using the .wrap tag, but it doesn't appear as if search engines are able to view it. Is there anyway I can manually input H2 tags around the board names?
|
#2
|
||||
|
||||
Look in the forumbit templates like forumhome_forumbit_level1_nopost and find
HTML Code:
<a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]">$forum[title]</a> HTML Code:
<h2><a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]">$forum[title]</a></h2> |
Благодарность от: | ||
Narutoboy |
#3
|
|||
|
|||
Thanks, Simon, that did it!
|
#4
|
||||
|
||||
Glad you're sorted, just make sure you changed all the forumbit templates where that's found
|
#5
|
|||
|
|||
Quote:
I hate to ask another question so soon, but are you aware of how I could add the h2 tags around each topic in the forumdisplay.php section? I literally tried putting an h2 on every a href link in the document and nothing took. |
#6
|
|||
|
|||
What line number(s) in 'forumdisplay.php' or are you talking about 'FORUMDISPLAY' the template?
|
#7
|
|||
|
|||
I'm talking about the template and I want h2's around every thread that's created.
|
#8
|
||||
|
||||
You can do that but do you want it in forumhome or forumdisplay?
|
#9
|
|||
|
|||
Display a section of the template where you added the <h2> elements, so we can see where you went wrong. Then we can point you in the right direction.
We were all beginners at some point |
#10
|
||||
|
||||
What you want is the forumhome_forumbit_level2_post template, and this <td class="alt2">$forum[lastpostinfo]</td> however you will not be able to make this H2 or whatever without changing the css for it, anyway that's what you need to change for forumhome
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|