How can I add schema below to beadcrumbs - loop
Code:Only registered members can view the code.
How can I add schema below to beadcrumbs - loop
Code:Only registered members can view the code.
Hello,
Go to ftp > templates > your template > tpl > blocks > bread_crumbs.tpl:
insert the following code before the last "{/if}" at the bottom:
Code:Only registered members can view the code.
Last edited by Rudi; February 2, 2018 at 07:53 AM.
Hello Rudi,
My breadcrubs is -> Home / Cars / Suzuki / Swift
But current code for Schema only pulls -> Home / Cars / Suzuki
See below example
1
@type Thing
@id https://www.website.com/
name Home
2
@type Thing
@id https://www.website.com/cars.html
name Cars
3
item
@type Thing
@id https://www.website.com/cars/Suzuki/
name Suzuki
Swift is missing ..can you modify code to add swift
Hello Errol,
Because our script displays only parent elements in breadcrumbs as it's used for navigation primarily
if you need a full path you should go to ftp > includes > controllers > listing_type.inc.php > find at the bottom // build category bread crumbs
change:
to:PHP Code:
Only registered members can view the code.
PHP Code:
Only registered members can view the code.
Hello Rudi,
Changes where already there.
Can you please take a look at my auto website to see my errors
Hello Rudi!
If category has no listing parent categories don't appear in the bread crumb, look at pictures
2020-02-10_175710.jpg
2020-02-10_175953.jpg
How can I fix it?
Thanks!
Hello,
it seems that you did something wrong in the code
if you didn't modified any files create a ticket and I'll look into it
Hello Rudi,
Can you tell me in which tpl should i put schema json for schema to work in this url
https://www.domain.com/body-style/suvs/
The page is from Field Bound Box Plugin
Hello Errol,
Go to plugins > fieldBoundBoxes > listings_by_field.tpl > {if !empty($listings)}
Last edited by Rudi; May 3, 2020 at 08:52 PM.
Hello Rudi,
This error appeared from version 4.8 to version 4.7 was normal. Fly. Demo site too has this issue,
https://classifieds.demoflynax.com/u...lfa-romeo.html
please look at picture:
2020-05-16_144424.png
If look at code it looks like https://classifieds.demoflynax.com/u...s/motors/.html
I tried to replace some files from 4.7, but it didn't help.
Last edited by Logmanov; May 16, 2020 at 11:49 AM.