Results 1 to 10 of 10

p Tags Around Post

This is a discussion on p Tags Around Post within the General Discussion forums, part of the vBulletin SEO Discussion category; Wondering if anyone thinks this could help out a little with defining the 'body' text of the page for a ...

  1. #1
    Senior Member
    Real Name
    John
    Join Date
    Dec 2005
    Posts
    762
    Liked
    30 times

    p Tags Around Post

    Wondering if anyone thinks this could help out a little with defining the 'body' text of the page for a search engine.

    In my postbit I changed
    Code:
    <!-- message -->
    <div id="post_message_$post[postid]">$post[message]</div>
    <!-- / message -->
    to

    Code:
    <!-- message -->
    <div id="post_message_$post[postid]"><p>$post[message]</p></div>
    <!-- / message -->

  2. #2
    vBSEO.com Webmaster Mert Gökçeimam's Avatar
    Real Name
    Lizard King
    Join Date
    Oct 2005
    Location
    Istanbul, Turkey, Turkey
    Posts
    23,100
    Liked
    622 times
    Blog Entries
    4
    That will make no change at all however if you really want to achieve good result you may consider trying this

    search for :

    Code:
    		<if condition="$show['messageicon'] OR $post['title']">
    			<!-- icon and title -->
    			<div class="smallfont">
    				<if condition="$show['messageicon']"><img class="inlineimg" src="$post[iconpath]" alt="$post[icontitle]" border="0" /></if>
    				<if condition="$post['title']"><strong>$post[title]</strong></if>
    			</div>
    			<hr size="1" style="color:$stylevar[tborder_bgcolor]" />
    			<!-- / icon and title -->
    		</if>
    		
    		<!-- message -->
    		<div id="post_message_$post[postid]">$post[message]</div>
    		<!-- / message -->
    modify it to

    Code:
    		<if condition="$show['messageicon'] OR $post['title']">
    			<!-- icon and title -->
    
    				<if condition="$post['title']"><if condition="!$GLOBALS['FIRSTPOSTID']"><h3>$post[title]</h3><else /><h4>$post[title]</h4></if></if>
    
    		</if>
    		
    		<!-- message -->
    		<p id="post_message_$post[postid]">$post[message]</p>
    		<!-- / message -->
    Change h3 with your matching header structure.
    Mert Gökçeimam / Crawlability Inc.

    vBSEO 3.6.0 Alpha Önizlemesi - Including Like Tree
    Unveiling the NEW vBSEO Sitemap Generator 3.0 - available NOW for vBSEO Customers!


    Twitter:@Depkac
    Personal Blog : Mert Gökçeimam

  3. #3
    Senior Member
    Real Name
    John
    Join Date
    Dec 2005
    Posts
    762
    Liked
    30 times
    Ah, thanks for the tip Mert. Wish H tags didn't give that bigass space though.

  4. #4
    vBSEO.com Webmaster Mert Gökçeimam's Avatar
    Real Name
    Lizard King
    Join Date
    Oct 2005
    Location
    Istanbul, Turkey, Turkey
    Posts
    23,100
    Liked
    622 times
    Blog Entries
    4
    You can define class to h tags
    Mert Gökçeimam / Crawlability Inc.

    vBSEO 3.6.0 Alpha Önizlemesi - Including Like Tree
    Unveiling the NEW vBSEO Sitemap Generator 3.0 - available NOW for vBSEO Customers!


    Twitter:@Depkac
    Personal Blog : Mert Gökçeimam

  5. #5
    Senior Member
    Real Name
    John
    Join Date
    Dec 2005
    Posts
    762
    Liked
    30 times
    ah, I didn't think of that? can you do styles as well? What could I add to get those spaces out of there?

  6. #6
    Senior Member
    Real Name
    Michael Biddle
    Join Date
    Jan 2007
    Location
    Southern California
    Posts
    7,097
    Liked
    5 times
    The Forum Hosting - Forum Hosting from the Forum Experts

  7. #7
    Senior Member
    Real Name
    John
    Join Date
    Dec 2005
    Posts
    762
    Liked
    30 times
    Gotcha. Is there a way to get rid of the space around the txt?

  8. #8
    Senior Member
    Real Name
    Michael Biddle
    Join Date
    Jan 2007
    Location
    Southern California
    Posts
    7,097
    Liked
    5 times
    What do ya mean?
    The Forum Hosting - Forum Hosting from the Forum Experts

  9. #9
    vBSEO Staff Ace Shattock's Avatar
    Real Name
    Ace Shattock
    Join Date
    Jul 2005
    Location
    Auckland, New Zealand, New Zealand
    Posts
    4,012
    Liked
    13 times
    That would be the padding attribute methinks.

  10. #10
    Senior Member
    Real Name
    John
    Join Date
    Dec 2005
    Posts
    762
    Liked
    30 times
    Gotcha. I think padding would work too, but I used 'margin'.

    Code:
    .headertext
    {
    margin: 0;
    }

Similar Threads

  1. The vBSEO LinkBacks User Guide - vBSEO 3.0 GOLD
    By Joe Ward in forum General Discussion
    Replies: 49
    Last Post: 09-20-2011, 07:10 PM

Posting Permissions

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