Support » Plugin: EZ SHORTCURL Shortcodes to Fetch and Parse External Content » Replace string question / bug?

  • Resolved ClaireF

    (@clairef)


    All great with this plugin save that the replace does not seem to be working. Trying to replace content as follows:

    replace=”=’/wiki” with=”=’http://en.wikipedia.org/wiki”]

    but URL is still returning mine instead; tried with some other variants as well but replace seems not to be taken into consideration.

    Thx for any suggestions

    https://wordpress.org/plugins/shortcurl/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Eli

    (@scheeeli)

    I believe wikipedia.org uses DoubleQuotes around their href values, so maybe my shortcode is not replacing any “=’/wiki” in the content because it’s not finding any?

    Try this:
    replace=’=”/wiki’ with=’=”http://en.wikipedia.org/wiki’]

    Please let me know how this resolution works for you, and mark this topic resolved if it works.

    Aloha, Eli

    Perfect! thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Replace string question / bug?’ is closed to new replies.