Support » Plugin: Last.Fm Records » [Plugin: Last.Fm Records] Shortcode no longer working (1.7)

  • Resolved Matt Brett

    (@mattbrett)


    Just updated to version 1.7 and the shortcode stopped working. I had it embedded in my sidebar template like so…

    <?php echo do_shortcode('[lastfmrecords|lovedtracks|6]'); ?>

    Has been working for months, but just stopped. Seeing default covers that link to the current page. I’ve tried removing the criteria (lovedtracks,6) and letting it pull from the settings, but that didn’t change anything. Also tried different settings (other than loved tracks), but nothing works.

    http://wordpress.org/extend/plugins/lastfm-records/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author jeroensmeets

    (@jeroensmeets)

    Hi Matt, the shortcode syntax has changed to make better use of the options available, if you change the shortcode to

    [lastfmrecords period=”lovedtracks” count=”6″]

    it should work again.

    Thanks for the quick reply, but still no dice. Anything I can do to help debug?

    @jeroensmeets helped me out on Twitter.

    Turns out, you need to use the new user parameter as well as the others. So my shortcode now looks like this…

    [lastfmrecords user=”MattBrett” period=”lovedtracks” count=”6″]

    Plugin Author jeroensmeets

    (@jeroensmeets)

    Good to see it’s working now. I’ll update the documentation in the next version.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: Last.Fm Records] Shortcode no longer working (1.7)’ is closed to new replies.