EZ SHORTCURL Shortcodes to Fetch and Parse External Content
[resolved] Replace string question / bug? (3 posts)

  1. ClaireF
    Posted 1 year ago #

    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


  2. Eli
    Plugin Author

    Posted 1 year ago #

    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

  3. ClaireF
    Posted 1 year ago #

    Perfect! thanks

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic


No tags yet.