WordPress.org

Ready to get started?Download WordPress

Forums

Collapse-O-Matic
[resolved] How to expand on the same line. (6 posts)

  1. thirdpotato
    Member
    Posted 1 year ago #

    Is there a way to have the expanded content not include a linebreak afterwards? I'm just using a simple [expand title="title"]Blahblah[/expand] but I'd like it to just expand next to the arrow instead of on a new line. Sorry if I've missed this in the documentation. I was looking, but couldn't quite find it.

    http://wordpress.org/extend/plugins/jquery-collapse-o-matic/

  2. Baden
    Member
    Plugin Author

    Posted 1 year ago #

    Yes. You need to check out the following two attributes:

    1. targtag
    2. targpos=”inline”

    Please let us know if you get this working.

  3. thirdpotato
    Member
    Posted 1 year ago #

    Perfect, thank you!

  4. thirdpotato
    Member
    Posted 1 year ago #

    Oh actually, it's not working. It still enters a linebreak after the arrow. I did:
    [expand title="" targpos="inline" targtag="strong"] content [/expand]

  5. thirdpotato
    Member
    Posted 1 year ago #

    I should mention that the content works expands off to the side, where it should be, but all of this is happens only after a linebreak after the dropdown arrow itself. changed it to:
    [expand title='Author's Notes' targtag="strong" excerpt="Author's Notes" targpos="inline"] Blablah[/expand]

  6. tbcurrent
    Member
    Posted 9 months ago #

    Hi there,

    Did you ever get this to work? I'm having the same issue where I don't want the line break. And even though I use tartag and tarpos it sill has a line break after the title.

    If you solved it, I'd love to know how -- and see the code!

    Thanks.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic