Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[For 1.8] Add Breadcrumb to Google Search
#1
ACP Home » Template Sets » Default Templates » Edit Template: showthread

Find
</head>

Replace with
<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "BreadcrumbList",
  "itemListElement": [{
    "@type": "ListItem",
    "position": 1,
    "name": "{$mybb->settings['bbname']}",
    "item": "{$mybb->settings['bburl']}"
  },{
    "@type": "ListItem",
    "position": 2,
    "name": "{$forum['name']}",
    "item": "{$mybb->settings['bburl']}/forum-{$fid}.html"
  },{
    "@type": "ListItem",
    "position": 3,
    "name": "{$thread['subject']}",
    "item": "{$mybb->settings['bburl']}/thread-{$thread['tid']}.html"
  }]
}
</script>
</head>

Heart
Reply
#2
why you add this in showthread templates ?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)