• hello
    I added some <h1 style=”direction: rtl; text-align: center;”>XXXX</h1> to a post title.
    I have found that the post result is showing the breadcrumbs of this post in a very large size font compared to the rest of the path.
    Inspecting the code shows that it inherits from the post title and it looks like:

    <span property="itemListElement" typeof="ListItem">
    <span property="name">
    <h1 style="direction: rtl; text-align: center;">XXX</h1></span><meta property="position" content="4"></span>
    <!-- END NavXT Breadcrumbs plugin -->

    Can this be fixed please so NavTX will not include the code added to a post title?
    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author John Havlik

    (@mtekk)

    You probably want to change the %htitle% instances with %title% in your breadcrumb templates. That will strip out any HTML tags in the title.

    Thread Starter asc1212

    (@asc1212)

    Thanks John

    it works perfectly. I removed the 7x instances of ‘h’ and it is OK now.

    Thank you for your help

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘NavTX inherit post title code’ is closed to new replies.