Hi,
I have a blog layout with an override. The blog layout fetches the article title for the card using:However, this renders the title with the same H2 tag as the article.
But, I need an H3 tag to keep the headings in the correct order. How can I change the above code to just pull the title without the H2 tags?
I'm not worried about keeping the microdata as that will all get stripped out anyway by my microdata extension.
I'm using J5 if this makes a difference.
Regards, Brendan
I have a blog layout with an override. The blog layout fetches the article title for the card using:
Code:
<?php echo JLayoutHelper::render('joomla.content.blog_style_default_item_title', $this->item); ?>
Code:
<div class="page-header"><h2 itemprop="name" class="article-title"><a href="/cars/ford-mondeo" itemprop="url">Ford Mondeo</a></h2> </div>
I'm not worried about keeping the microdata as that will all get stripped out anyway by my microdata extension.
I'm using J5 if this makes a difference.
Regards, Brendan
Statistics: Posted by brendanhedges — Sun Aug 11, 2024 11:56 am