WordPress.org

Ready to get started?Download WordPress

Forums

Shortcodes Ultimate
[resolved] Shortcodes Ultimate columns option (9 posts)

  1. jack_martin_leith
    Member
    Posted 9 months ago #

    Does anyone know how to indicate "this is the last column of the column set"? I've tried verious experiments, but without success. Any pointers will be very welcome as my 50 page site uses Shortcodes Ultimate on most of them.

    Thanks.

    Jack
    Bristol, UK

    http://wordpress.org/plugins/shortcodes-ultimate/

  2. Primitive
    Member
    Posted 9 months ago #

    Why do you need to show "this is the last column set"?
    You could just add a css class to the last column eg.

    [column size="1/3"Column content[/column]
    [column size="1/3"]Column content[/column]
    [column size="1/3" class="lastcol"]Column content[/column]
  3. Vladimir Anokhin
    Member
    Plugin Author

    Posted 9 months ago #

    At the moment I was finishing the updated version. It will support some of the old shortcodes including column. The new version will be available today or tomorrow.

  4. jack_martin_leith
    Member
    Posted 9 months ago #

    Primitive: Thanks for that. Mea culpa. No "last column" tag needed.

    Vladimir: Thanks for your gracious response. I hope your work is proceeding well.

    Best wishes to both.

    Jack

  5. Vladimir Anokhin
    Member
    Plugin Author

    Posted 9 months ago #

    @jack_martin_leith you need to install 4.0.5. In this version you use "last" attribute.

  6. jack_martin_leith
    Member
    Posted 9 months ago #

    Thanks Vladimir. Will do that now.

  7. rlmsfo
    Member
    Posted 9 months ago #

    Sorry, but a bit out of my depth… when you say "last" attribute, I tried to add [last] and [/last] to a new half column and it put the content in the right location, but kept the [last], [/last] visible. Can you please advise. Thanks!

  8. adjosh
    Member
    Posted 9 months ago #

    Hi rlmsfo,

    The "last" attribute is written within the shortcode as an option like this:
    [column last="1"]content[/column]
    If this is the last column you put "1", if it is not, you put "0".

    Hope this helps.
    Best regards.

  9. emagina
    Member
    Posted 6 months ago #

    worked like a charm for me, thank you @adjosh!

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.