-
AuthorPosts
-
simplesite Friend
simplesite
- Join date:
- August 2013
- Posts:
- 155
- Downloads:
- 0
- Uploads:
- 57
- Thanks:
- 20
- Thanked:
- 4 times in 1 posts
March 24, 2014 at 4:25 am #196086Hello,
I discovered that my site still doesn’t have H1 tags and also the images don’t have the alt tag even though I fill in “alternate text” and “title”.
I searched and found this answer:
my web designer put on code in root template for alt image tag and after that a whole image on my site have got alt tag image and dont need i do this work manually
Can you please tell me what code I need to add for the title and the H1?
Thanks.
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
March 25, 2014 at 4:32 pm #528084Just for better clarification, please send me screenshot with explanation, I will help you out.
simplesite Friendsimplesite
- Join date:
- August 2013
- Posts:
- 155
- Downloads:
- 0
- Uploads:
- 57
- Thanks:
- 20
- Thanked:
- 4 times in 1 posts
March 25, 2014 at 10:48 pm #528139http://seositecheckup.com/
<h1> Headings Status
EXPLAIN THIS
Your page does not contain any H1 headings. H1 headings help indicate the important topics of your page to search engines. H1 headings still help define the topic of your page to search engines.
HOW TO FIX
In order to pass this test you must indentify the most important topics from your page and insert those topics between <h1>…</h1> tags.
Example:
<h1>Important topic goes here</h1>
…
<h1>Another topic</h1>The problem is that I can’t use “Page Heading” because it shows up in Masshead.
This is my regular home pageThis is if I add text in Page Heading in Menu (Even if Show Page Heading says no)
Result
So even if I change templates. For instance in JA_Fixel_Home (for this link http://going-natural.com/list/natural-hairstyles/dreadlocks/) it works the way it should.
Here is what I think:
1) Article Title or category title should always become <H1> tag. This is crucial for SEO.2) I think you should always be able to use Page Title, whether you want to show it or not.
3) I really like the feature of the page title showing up as Masshead. It’s really clever but sometimes it just doesn’t work like when you need links in that area (http://going-natural.com/america-s-next-natural-model.html ). So I think there should be an easy way to opt out without it affecting H1.
- Ninja Lead Moderator
Ninja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
March 26, 2014 at 3:36 pm #528265If you wish to add H1 tag into JA Fixel Template, you can follow steps below:
#1,2 ): With Article Title:
Find $this->item->title and add H1 into following files:
templates/ja_fixel/html/com_content/featured/default_item_video.php
templates/ja_fixel/html/com_content/featured/default_item_images.php
templates/ja_fixel/html/com_content/featured/default_item_default.phptemplates/ja_fixel/html/com_content/category/fixel_item_video.php
templates/ja_fixel/html/com_content/category/fixel_item_images.php
templates/ja_fixel/html/com_content/category/fixel_item_default.php
templates/ja_fixel/html/com_content/category/blog_item.phptemplates/ja_fixel/html/com_content/article/default_popup_video.php
templates/ja_fixel/html/com_content/article/default_popup_images.php
templates/ja_fixel/html/com_content/article/default_gallery.php
templates/ja_fixel/html/com_content/article/default_detail.phpWith Category Title: find $this->item->category_title and add H1 into the following files:
templates/ja_fixel/html/com_content/article/default_detail.php
templates/ja_fixel/html/com_content/article/default_gallery.php
templates/ja_fixel/html/com_content/article/default_popup_images.php
templates/ja_fixel/html/com_content/article/default_popup_video.phptemplates/ja_fixel/html/com_content/category/blog_item.php
templates/ja_fixel/html/com_content/category/fixel_item_default.php
templates/ja_fixel/html/com_content/category/default_item_default.php#3): For the title in JA Masshead module, you can find and change it from: modules/mod_jamasshead/tmpl/default.php file as follows:
<h3 class="jamasshead-title"><?php echo $masshead['title']; ?></h3>
1 user says Thank You to Ninja Lead for this useful post
simplesite Friendsimplesite
- Join date:
- August 2013
- Posts:
- 155
- Downloads:
- 0
- Uploads:
- 57
- Thanks:
- 20
- Thanked:
- 4 times in 1 posts
March 30, 2014 at 4:53 am #528631Thank you I really appreciate your help but I am not sure I understand. I see this “$this->item->title” 3 times in default_item_video.php.
How exactly should I add H1? Can you please give an example and should I do this to all of them?
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
March 31, 2014 at 6:44 am #528715Here is an example to add H1 tag into article title:
<h1 class="article-title">
<?php if ($params->get('link_titles') && !empty($this->item->readmore_link)) : ?>
<a href="<?php echo $this->item->readmore_link; ?>"> <?php echo $this->escape($this->item->title); ?></a>
<?php else : ?>
<?php echo $this->escape($this->item->title); ?>
<?php endif; ?>
</h1>AuthorPostsViewing 6 posts - 1 through 6 (of 6 total)This topic contains 6 replies, has 2 voices, and was last updated by Ninja Lead 10 years, 7 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Jump to forum