0

In Joomla each page can have page heading and page title both at the same time. I'm very puzzled at why that is so.

I simply don't understand what's page heading supposed to be. Categories have titles, articles have titles, even components. What is possible benefit of having one more title above the content title?

I would understand if it is some kind of override for article/component title, but it just stands there along with my article title and is usually a higher level heading than regular title so semantically I'm getting uneven and non formalized pages.

1
  • 1
    If the answer below have solved your issue, then consider to accept it as the right one.
    – FFrewin
    Commented Aug 10, 2014 at 12:33

1 Answer 1

2

It is there and you can use it as per your needs and in combination with other options, like show title, category title, etc.

For me it adds flexibility. It is good to have it there by default, because there are so many scenarios that something like this might be needed and it adds extra control and options. I remember once I was working on another e-commerce platform and needed something like this for the categories pages. I had to create it. If also Joomla didn't provide this, I am afraid that I would have to add this almost in every website I build.

Notice that:

If and how both of these will print in the html, depends on the template and any possible component overrides.

In many cases (templates), the article title prints within an <h2>, while the page heading prints within an <h1>.

You have then the possibility to set the article title to not be displayed and use the page heading from the menu item, to create your desired SEO title.

It is also useful for categories pages, where your categories may have short titles, but you can set a Longer SEO optimized title for the page heading, as well as for other components where you can create a unique page heading.

Usually, it is wise (SEO concerning) to check how a template through its overrides uses and prints them, and adjust your settings / workflow, or modify the overrides to achieve the best possible combination for your needs.

If you don't need it, just don't use it. It is not necessary that everyone will use each joomla feature on every site.

This question is also about titles and headings, and you might find useful the information provided there...How to change the title tag?

2
  • But still what would it's use in semantic sense be. Especially since default template has two separate divs called "page-header". One is containing h1 and other h2 (article title). It's kind of silly.
    – Jinx
    Commented Jul 28, 2014 at 18:28
  • It's up to the user choice, if and how it will be used and there are so many situations where this can be useful or actually needed. I don't see anything silly.
    – FFrewin
    Commented Jul 28, 2014 at 19:27

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.