That’s right.
I am trying to remove the link on the title.
Regards.
[current]
<h1 class="post-title entry-title" itemprop="headline"> <a href="http://blog.renai-therapy.com/%e3%80%90%e6%81%8b%e6%84%9b%e3%82%b3%e3%83%a9%e3%83%a0%e3%80%91%e3%81%aa%e3%81%9c%e5%bd%bc%e6%b0%8f%e3%81%af%e4%bf%a1%e3%81%98%e3%82%89%e3%82%8c%e3%81%aa%e3%81%84%e3%81%ae%e3%81%8b%ef%bc%9f/" rel="bookmark" title="Permanent Link: 彼氏を信じたいけど信じられない、その本当の理由とは?">彼氏を信じたいけど信じられない、その本当の理由とは? <span class="post-format-icon minor-meta"></span> </a></h1>
[ideal]
<h1 class="post-title entry-title" itemprop="headline">彼氏を信じたいけど信じられない、その本当の理由とは? <span class="post-format-icon minor-meta"></span></h1>
[link]
http://blog.renai-therapy.com/【恋愛コラム】なぜ彼氏は信じられないのか?/
[using code]
add_filter('avf_title_args', 'fix_single_post_title', 10, 2);
function fix_single_post_title($args,$id)
{
if ( is_single() )
{
$args['title'] = get_the_title($id);
$args['link'] = false;
}
return $args;
}
I have trouble in same case.I tried to that
https://kriesi.at/support/topic/a-real-seo-problem-blog-post-title-should-be-h1-header/#post-115984.
filter.
But that filter change <strong class=’main-title entry-title’> not h1, so that I can’t remove permalink from h1 even now.
How can I remove that from h1 ?