WordPress.org

Ready to get started?Download WordPress

Forums

lorem shortcode
added some (1 post)

  1. Sjeiti
    Member
    Posted 2 years ago #

    Hi... love the plugin...

    Added some stuff to suit my needs, might be interesting to others as well...

    The code is here.

    For using the shortcode in the post_title I added ln 28, 29 and ln 74-85. Length of the title defaults to three words but can be set by using [loremtitle w="5"].

    I've also added a var 'type' to loremimage (values can be 'dummyimage' or 'flickholdr'). When using Flickrholder the image shown will use the post tags to find an image on Flickr, or you can supply the image with tags like so: [loremimage size="400x200" type="flickholdr" tags="red,balloon"].

    Hope you find it useful enough to implement...

    http://wordpress.org/extend/plugins/lorem-shortcode/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic