Forums

[Plugin: Yoast Breadcrumbs] Only display segment of page title in Breadcrumbs? (2 posts)

  1. ellewhin
    Member
    Posted 2 years ago #

    Hello,

    In the title of many of my pages, I place the title of the article and the author both in the "title" field and break them up with a
    tag.

    e.g. The Quick Brown Fox
    By John Doe

    I would like the breadcrumbs only to display "The Quick Brown Fox" and NOT "By John Doe". That is, the text that always appears before the
    tag.

    I imagine this would be possible with some sort of conditional statement.

    Could someone help me with this?

  2. ellewhin
    Member
    Posted 2 years ago #

    Oops, I forgot to put code tags around the <br />s

    Should read:

    Hello,

    In the title of many of my pages, I place the title of the article and the author both in the "title" field and break them up with a <br /> tag.

    e.g. The Quick Brown Fox <br /> By John Doe

    I would like the breadcrumbs only to display "The Quick Brown Fox" and NOT "By John Doe". That is, the text that always appears before the <br /> tag.

    I imagine this would be possible with some sort of conditional statement.

    Could someone help me with this?

Topic Closed

This topic has been closed to new replies.

About this Topic