test
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • simplesite Friend
    #196086

    Hello,

    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 Moderator
    #528084

    Just for better clarification, please send me screenshot with explanation, I will help you out.

    simplesite Friend
    #528139

    http://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 page

    This 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.


    1. without-page-heading
    2. page-heading
    3. homepage-with
    Ninja Lead Moderator
    #528265

    If 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.php

    templates/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.php

    templates/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.php

    With 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.php

    templates/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>

    simplesite Friend
    #528631

    Thank 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 Moderator
    #528715

    Here 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>

Viewing 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, 8 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum