Viewing 5 replies - 1 through 5 (of 5 total)
  • jbx

    (@jbx)

    I had the same issue. Instead of the_excerpt() use 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).

    Thread Starter tcolling

    (@tcolling)

    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:

    ” style=”color:#000;text-decoration:none;align:center” target=”_blank”><?php the_excerpt(); ?>

    and I changed it to say:

    ” style=”color:#000;text-decoration:none;align:center” target=”_blank”>
    <?php echo get_the_excerpt(); ?>

    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.

    <sigh>

    – Tim

    Thread Starter tcolling

    (@tcolling)

    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!

    – Tim

    jbx

    (@jbx)

    Cheers ??

    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.

    Plugin Author Stefano Lissa

    (@satollo)

    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>.

    Stefano.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Text that is linked in the "new message" display ends up NOT linked in next step’ is closed to new replies.