Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 12-07-2009, 09:34 AM   #1
SinfullySexy
Registered User
 
Join Date: Mar 2009
Location: SinfullySexyCams.com
Posts: 97
Wordpress Help!

Ok, so Ive found out that for good SEO you should change your blog template to allow your post titles to be H1, and make your main blog title H2. Something I read said go into the template Header(header.php) and change it to H2, then go to the posts.php and change the post titles to H1. With that said I went into the header.php and found this

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title><?php wp_title("-", TRUE, "right"); ?><?php bloginfo('name'); ?></title>
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
<meta name="generator" content="WordPress <?php bloginfo('version'); ?>" /> <!-- leave this for stats please -->
<link rel="stylesheet" href="<?php bloginfo

Looks to me it doesnt have any H tags on the title at all, do I just need to add H2 tags to the title portion here??
Also when I go to Main Index Page(index.php) I found

<h2 class="postTitle">
<a href="<?php the_permalink();?>" title="<?php the_title();?>"><?php the_title();?></a>
</h2>

I assume this is where I change the post titles to an H1 from the H2 they are default?? It said to change post titles in the post.php file, but I cant find that file, only this index.php i pasted above,,,is this what I change for posts???
__________________
SinfullySexyCams.com

ICQ 588-130-338
SinfullySexy is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-07-2009, 09:35 AM   #2
Jdoughs
Confirmed User
 
Jdoughs's Avatar
 
Industry Role:
Join Date: Mar 2004
Location: Great White North
Posts: 5,794
post.php may also be called single.php
__________________
LinkSpun - Premier Adult Link Trading Community - ICQ - 464/\281/\250
Be Seen By New Webmasters/Affiliates * Target out webmasters/affiliates based on niches your sites are for less than $20 a month.
AmeriNOC - Proudly hosted @ AmeriNOC!
Jdoughs is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-07-2009, 09:39 AM   #3
SinfullySexy
Registered User
 
Join Date: Mar 2009
Location: SinfullySexyCams.com
Posts: 97
Also the Page Template(page.php) also has
<h2 class="postTitle">
<a href="<?php the_permalink();?>" title="<?php the_title();?>"><?php the_title();?></a>
</h2>

Do I need to change this one as well?? Or better yet anyone know for sure which ones I need to change LOL Thanks guys..
__________________
SinfullySexyCams.com

ICQ 588-130-338
SinfullySexy is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-07-2009, 09:41 AM   #4
goldfish
Confirmed User
 
goldfish's Avatar
 
Join Date: Jan 2009
Location: Somewhere east of the Mississippi
Posts: 723
Edit template in the admin.

Go to Appearance, then editor,Choose the file. You should never edit core files unless you REALLY know what your doing.
__________________
ICQ: 566990329

"There is no rest for the wicked... and porn purveyors!
goldfish is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-07-2009, 09:49 AM   #5
SinfullySexy
Registered User
 
Join Date: Mar 2009
Location: SinfullySexyCams.com
Posts: 97
Quote:
Originally Posted by goldfish View Post
Edit template in the admin.

Go to Appearance, then editor,Choose the file. You should never edit core files unless you REALLY know what your doing.
Ive got this far, now I just need to make sure I change the right ones!
__________________
SinfullySexyCams.com

ICQ 588-130-338
SinfullySexy is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-07-2009, 10:17 AM   #6
SinfullySexy
Registered User
 
Join Date: Mar 2009
Location: SinfullySexyCams.com
Posts: 97
So to do this right should I just change the following

header.php-Change Title to H2

And change these 3 to show post title to H1.
index.php
page.php
single.php

Is this all i need to change??
__________________
SinfullySexyCams.com

ICQ 588-130-338
SinfullySexy is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-07-2009, 12:12 PM   #7
SinfullySexy
Registered User
 
Join Date: Mar 2009
Location: SinfullySexyCams.com
Posts: 97
Quote:
Originally Posted by SinfullySexy View Post
So to do this right should I just change the following

header.php-Change Title to H2

And change these 3 to show post title to H1.
index.php
page.php
single.php

Is this all i need to change??
Anyone know for sure if this is what I need to change?? Thanks!
__________________
SinfullySexyCams.com

ICQ 588-130-338
SinfullySexy is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-07-2009, 12:19 PM   #8
Sands
Confirmed User
 
Sands's Avatar
 
Join Date: Feb 2007
Location: 418194907
Posts: 3,134
http://codex.wordpress.org/Templates_Hierarchy

Though that article might be a bit advanced for what you want to do, it's important to note that Wordpress can have few or many template files that control the content of each section.

The files you will probably want to change, if they exist in your template, are index.php, single.php, page.php, archive.php / archives.php, category.php, author.php, and search.php.

Remember, your theme may not have all of these files, but each controls a particular section of your Wordpress blog and each lists a post or posts with its respective title.
Sands is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-07-2009, 12:28 PM   #9
fris
Too lazy to set a custom title
 
fris's Avatar
 
Industry Role:
Join Date: Aug 2002
Posts: 55,239
big dicks tight chicks
__________________
Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.


WP Stuff
fris is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-07-2009, 04:56 PM   #10
SinfullySexy
Registered User
 
Join Date: Mar 2009
Location: SinfullySexyCams.com
Posts: 97
Quote:
Originally Posted by Sands View Post
http://codex.wordpress.org/Templates_Hierarchy

Though that article might be a bit advanced for what you want to do, it's important to note that Wordpress can have few or many template files that control the content of each section.

The files you will probably want to change, if they exist in your template, are index.php, single.php, page.php, archive.php / archives.php, category.php, author.php, and search.php.

Remember, your theme may not have all of these files, but each controls a particular section of your Wordpress blog and each lists a post or posts with its respective title.
Thanks that actually helped a lot! I changed the index.php, single.php, page.php, archives.php, and the search.php. My template has no category or author. So now my question is since I changed all those Post titles from H2 to H1, do I need to change the main blog Title to H2 in the header.php?? If you look at my first post you will see where I posted the header.php file and it has no H heading tag at all, do I even need to mess with it???
__________________
SinfullySexyCams.com

ICQ 588-130-338
SinfullySexy is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.