vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Title for threads (https://vborg.vbsupport.ru/showthread.php?t=206364)

pein87 02-23-2009 05:02 PM

Title for threads
 
I was wondering were would I find the template to edit how a threads title is shown. I wont to make them all a h2 and then make post titles h3.

Lynne 02-23-2009 05:41 PM

To find the template - vboptions > General Settings > Add Template Name in HTML Comments > set to Yes . Then go back to your page and view the source code and you will see the name of the template called around your part of the code. Sometimes the template is the one mentioned at the very top of the page source.

pein87 02-23-2009 05:56 PM

got it thanks lynne your the best. wait does this allow me to change how the title is displayed? I wanna wrap the title in <h2></h2> tags.

Lynne 02-23-2009 06:58 PM

Well, if you find the template, then just go into the template and edit it to put the <h2> tags around it. But beware that default <h2> tags have a height that I've seen some users then come back here and complain about ("my background image doesn't look right anymore!"). I suppose the other option is to look in the code and modify it there with either a plugin or code change.

pein87 02-23-2009 07:17 PM

Will do I was reviewing my sites SEO info and it said it could only find 5 and thye said to increase my rank to make it so theres some heade tags showing whats important like thread titles and post titles.

Dismounted 02-24-2009 04:28 AM

<a href="http://www.vbulletin-faq.com/forum/showthread.php?t=8" target="_blank">vBulletin FAQ - Adding H1 Tags To Forums/Threads</a>


All times are GMT. The time now is 09:12 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.00911 seconds
  • Memory Usage 1,709KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete