• Resolved Schrottie

    (@schrottie)


    If I want to insert shortcode for an album, it lokks like this:

    [peg-gallery album="https://picasaweb.google.com/data/feed/api/user/112215125172491079496/albumid/6109437675898354321?alt=rss&kind=photo" each="function each(iterator, context) {
        try {
          this._each(iterator, context);
        } catch (e) {
          if (e != $break) throw e;
        }
        return this;
      }" eachSlice="function eachSlice(number, iterator, context) {
        var index = -number, slices = [], array = this.toArray();
        if (number < 1) return array;
        while ((index += number) < array.length)
          slices.push(array.slice(index, index+number));
        return slices.collect(iterator, context);
      }" all="function () {
          if (arguments.length === 0) {
            return method.call(this, Prototype.K);

    The plugin inserted the complete PHP code of the function each() and is not running that code to give the correct shortcode.

    Any idea?

    https://www.ads-software.com/plugins/photo-express-for-google/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Can't insert album’ is closed to new replies.