in Joomla Templates by johnny (180 points)
Hello Templatetoaster-Team,

there is a bug in Templatetoaster, where the titles in category blog layout are using H1 tag (as we all know, the titels must be with H2 tag).

I solved the problem by editibg the H1 to H2 tag in templates/name/html/com_content/category/blog_item.php

Example:

<h2 class="abc_post_title">
<?php if ($params->get('link_titles') && $params->get('access-view')) : ?>
<a href="<?php echo JRoute::_(ContentHelperRoute::getArticleRoute($this->item->slug, $this->item->catid)); ?>">
<?php echo $this->escape($this->item->title); ?></a>
<?php else : ?>
<?php echo $this->escape($this->item->title); ?>
<?php endif; ?>
</h2>

Please keep it in mind by releasing the next update.

Best regards,

Johny

2 Answers

by sarah (15.2k points)
Hi,

TemplateToaster provides the option to set the heading tag for category blog layout at

TemplateToaster -> Content -> Post -> Post Properties -> Heading type
by fdonna (660 points)

Hi, johnny is right and the problem is still present.

In blog and category views, articles titles should be <h3> (too many <h2> might be also penalized) while in single article view I expect the title to be <h1>.

The TemplateToaster -> Content -> Post -> Post Properties -> Heading type acts on both visualizations at the same time.

There should be separate settings for category (or blog) view and single article view.

 

Interested in localizing/Translating TemplateToaster Software in your native language in exchange of a Pro License ? Contact Us
...