• Resolved Turk

    (@turk)


    Is there a way to use this inside the <title> tags?

    • This topic was modified 2 years, 3 months ago by Turk.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author John Havlik

    (@mtekk)

    Not directly, but calling bcn_display(true, false) and passing the result into something that strips HTML tags such as strip_tags() will probably produce a trail that doesn’t contain HTML tags so it should work within the title tag. So, in theory something like the following may work:
    echo strip_tags(bcn_display(true, false));
    Note I have not tried this so it may need additional code/adjustment.

    Thread Starter Turk

    (@turk)

    Awesome! I figured out how to use that echo command. <?php echo strip_tags(bcn_display(true, false)); ?> Did exactly what I wanted.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Use in Title Tags?’ is closed to new replies.