H1 Title Bug in Category Blog Layout

asked Aug 26, 2015 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


<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; ?>

Please keep it in mind by releasing the next update.

Best regards,


2 Answers

answered Aug 27, 2015 by sarah (15,240 points)

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

TemplateToaster -> Content -> Post -> Post Properties -> Heading type
answered Jan 9 by fdonna (500 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.


Anyone interested in localization of TemplateToaster v7 in exchange of a Pro License Contact Us