I would like to create a vertical bar, as is, in a \textbf{#1} command:
MWE:
\documentclass{article}
\begin{document}
\textbf{Hello|there}
\texttt{Hello|there}
\end{document}
which produces this:
How can I get the vertical bar working in bold-series?
EDIT:
I do not want to change the | char (I want to keep using |).

\textbf{Hello\textbar there}– Runar Jul 06 '16 at 06:36\usepackage[T1]{fontenc}taken from http://stackoverflow.com/questions/3487966/how-to-insert-pipe-symbol-in-tex#3488074 – Runar Jul 06 '16 at 06:48