This support forum is no longer in use. Please use the Cloudinary Community at https://community.cloudinary.com/ to receive assistance from other members of the community and from Cloudinary's support team. For account-specific questions or if you believe that you've encountered a bug, please contact the Cloudinary team directly via the "submit a request" option on this support site.

Wordpress plugin AJAX links replacement doesn't work

Comments

2 comments

  • Avatar
    Loic Verger Del Bove

    Hi Alexander, 

    Thanks for reaching out.

    This is indeed not supported with the new delivery system introduced in v3 but we will open this in a future version (probably the next one). If you need urgently this, I would recommend downgrading to the 2.7.7 version that you can download here.

    Thanks for your understanding.

    Best,

    Loic

    0
    Comment actions Permalink
  • Avatar
    Loic Verger Del Bove

    Hi Alexander,

    Instead of your code above, would you mind trying this one:

    $cloudinary = Cloudinary\get_plugin_instance();
    $replace = new Cloudinary\String_Replace( $cloudinary );
    $post_id = SOME_LOGIC;

    return $replace->replace_strings( apply_filters( 'the_content', get_post( $post_id )->post_content ) );

    Thanks for letting me know if that works.

    Best,

    Loic

    1
    Comment actions Permalink

Post is closed for comments.