For menu item other than article - won't show page header H1

by mk3   Last Updated December 28, 2017 23:10 PM

When I have menu items (other than articles) and

Page Display -> Show Page Heading = YES
Page Display -> Page Heading = BlaBlaBla....

I do not see any Page Header. This works only if the menu item is an article! Am I right and how to make appear Page Headers (with H1 tag) on any menu item (for any component)?

PS: saw this code in this forum:

<?php if ($this->params->get('show_page_heading', 1)) : ?>
<div class="page-header">
    <h1> <?php echo $this->escape($this->params->get('page_heading')); ?> </h1>
<?php endif;?>

but it didn't work.

Related Questions

Why does one menu item have a Hidden tag?

Updated May 02, 2018 22:10 PM

How to show tagged items in category blog layout

Updated March 15, 2019 12:10 PM

More on tags in category blog layout

Updated May 15, 2016 08:04 AM

ir-site-verification-token site validation error

Updated January 11, 2019 14:10 PM