Results 1 to 5 of 5

Headers for Articles - vbcms_page template.

This is a discussion on Headers for Articles - vbcms_page template. within the General Discussion forums, part of the vBSEO SEO Plugin category; As far as I can tell relevant replacements will only do the article title on the CMS. So instead of ...

  1. #1
    Member
    Real Name
    Tim
    Join Date
    Jan 2012
    Posts
    82
    Liked
    1 times

    Headers for Articles - vbcms_page template.

    As far as I can tell relevant replacements will only do the article title on the CMS. So instead of having the title display twice, would it be acceptable to place <h1> tags around the title block in the vbcms_page template like i have shown in the code below?

    Code:
     <h1><title>{vb:raw html_title} - <vb:if condition="$vboptions['cmstitle']">{vb:raw vboptions.cmstitle}<vb:else />{vb:raw vboptions.bbtitle}</vb:if></title></h1>

  2. #2
    vBSEO Staff Brian Cummiskey's Avatar
    Real Name
    Brian Cummiskey
    Join Date
    Jul 2009
    Location
    btwn NYC and Boston
    Posts
    12,789
    Liked
    657 times
    Blog Entries
    2
    No, that is invalid. The title tag takes on no html markup.

    You can place any RR tag into the template manually with any markup you wish to use in the RR panel.

  3. #3
    Member
    Real Name
    Tim
    Join Date
    Jan 2012
    Posts
    82
    Liked
    1 times
    Okay to make sure I understand this correctly:

    title tag doesn't take nor does it need <h> tags?

    so in order of precedence,

    <title>
    <h1>
    <h2>

    etc???

  4. #4
    vBSEO Staff Brian Cummiskey's Avatar
    Real Name
    Brian Cummiskey
    Join Date
    Jul 2009
    Location
    btwn NYC and Boston
    Posts
    12,789
    Liked
    657 times
    Blog Entries
    2
    title is what shows in the blue bar at the very top of the browser. It does not print on page anywhere and does not accept any other markup. This should be the title of the article/page/etc.

    headings are 'logical sections' therein under said title.
    If we had a page called 'car' it might be broken down like this.

    Title - Car
    - h1 - engine
    -- h2 - camshaft
    --- p lifters
    --- p valves
    -- h2 - pistons
    --- p rings
    - h1 brakes
    -- h2 master cyl
    --- p booster
    --- p fluid lines


    and so on

  5. #5
    Member
    Real Name
    Tim
    Join Date
    Jan 2012
    Posts
    82
    Liked
    1 times
    got it now thank you!

Similar Threads

  1. Replies: 25
    Last Post: 03-03-2010, 02:23 PM
  2. vBulletin 4.x URLS not being rewritten for RSS of articles as well as multipage articles
    By Jaffery in forum Bug Reporting
    Replies: 2
    Last Post: 01-01-2010, 11:38 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •