[Resolved] Text that is linked in the "new message" display ends up NOT linked in next step
I had the same issue. Instead of
echo get_the_excerpt()and if you want to wrap it in a
<p>or anything do it manually. For some reason the HTML code generated by
the_excerpt()interferes (I didn’t investigate thoroughly what is actually happening, but the solution worked).
Hi jbx: Thanks for trying to help, I appreciate it.
I did what you said to do: the key line of code is this one, it used to say:
and I changed it to say:
But that didn’t help: the excerpt is rendered as linked text in the “new message” window, but after you save it it renders as unlinked text in the “Save and send” window.
Whoops, wait a minute: although it doesn’t look like it’s linked text in the “save and send” window, the message that is actually sent DOES have the excerpt as linked text. That works.
Thank you Thank you Thank you!
You should notice that in the WYSIWYG editor when you click on the text itself the Link icons get activated, which means they have a link.
Glad it worked for you too.
It seems not a link because there are applied styles, I believe. About the excerpt generating a <p> around the text is a “feature” of wordpress it cannot be removed or better, you should extract the excerpt and then replace the <p> and </p>.
- The topic ‘[Resolved] Text that is linked in the "new message" display ends up NOT linked in next step’ is closed to new replies.