WordPress.org

Support

Support » Plugins and Hacks » Auto replace -amp; with & or and in post title

Auto replace -amp; with & or and in post title

  • Hi,

    I have a feed coming in via WpeMatico and the title has a amp; instead of a & (or and). Is there a way to auto correct this as the posts are created.

    I have tried Text Replace: (from Scott Reilly, aka coffee2code.)

    Using

    and => -amp;

    But this does not seem to work.

    Is there an easy way (i.e. via a pluging where i can do this, or some other cast iron method)

    Thanks in advance

    Chris

Viewing 2 replies - 1 through 2 (of 2 total)
  • not sure if i got it right, but
    & a m p ; equals &

    & a m p ; is a masked & and will be presented by your browser in that ‘right’ way.

    Hi that is what i expected but it is not happening.

    Here is an example:

    In the html post editor i have:

    back and forth

    but when i view from the front end i see:

    back -amp; forth

    Do you know what is causing this behaviour?

    Thanks for taking the time to respond.

    Chris

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Auto replace -amp; with & or and in post title’ is closed to new replies.
Skip to toolbar