Support Offline : Mon - Fri / 10am - 6pm (GMT +6)

Your Time: Our Time:

How to delete sp-page-title in child article

Featured Lock Resolved Issue
Hello,
I have this page where I set an sp-page-title called "Blog"
The problem is that the sp-page-title is present also in the child article, it is non visible in front end but if you look at the source code it is. I would like to keep sp-page-title only for the page Blog and not for its children.
Thanks.

6 Answers

Toufiq - Staff

More than a month ago #Permalink
Hi,

Thanks, fo your reply. Please follow the instruction change or remove the h2 tag.

Blog title
/templates/shaper-startup-biz/features/title.php

$output .= '<h2>'. $page_title .'</h2>';


Item title
templates/shaper-startup-biz/html/layouts/joomla/content/blog_style_default_item_title.php

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


-Thanks

Toufiq - Staff

More than a month ago #Permalink
Hi, Can you show me a screenshot which you wanna change exactly. Thanks

Gianluca Pantaleo

More than a month ago #Permalink
Here two screenshot:
- category view where I set up the sp-psge-title H1
- article view where I didn't set up the sp-page-title but it still presente in source code

Attachments (2)

  • category-view.jpg
    category-view.jpg 427 KB
  • article-view.jpg
    article-view.jpg 485.9 KB

Gianluca Pantaleo

More than a month ago #Permalink
Hello, how can I do the same thing in shaper_medico template, please? Thanks

Toufiq - Staff

More than a month ago #Permalink
Hello, how can I do the same thing in shaper_medico template, please? Thanks


Hi there, You can try to do it. Before applying this process, please keep a backup of your files. Thanks


There are no replies made for this post yet.
Be one of the first to reply to this post!

Leaderboard (30 days)

Paul Frankowski

Paul Frankowski

Total Accepted Answers: 106
Toufiq

Toufiq

Total Accepted Answers: 58
Sifat

Sifat

Total Accepted Answers: 43
Mehtaz Afsana Borsha

Mehtaz Afsana Borsha

Total Accepted Answers: 23
Ofi Khan

Ofi Khan

Total Accepted Answers: 22

118

Templates

306279

Community Users

Newsletter

Don’t miss any updates of our new templates and extensions and all the astonishing offers we bring for you.
We never spam

Joomla! ® name is used under a limited license from Open Source Matters in the United States and other countries. JoomShaper.com is not affiliated with or endorsed by Open Source Matters or the Joomla! Project.

Connect Us