• Resolved selbers

    (@selbers)


    Hi there,

    I need some help on combining the shortcode for swaptitle as well as trigpos. I would like the “read more” to be displayed below the content, and then use the swaptitle code to change the “read more” to “read less” once the content has been displayed.

    I know that the shortcodes for this have been outlined in the documentation, I just can’t figure out how to combine the 2.

    I’ll appreciate any help!

    Thanks in advance ??

    https://www.ads-software.com/plugins/jquery-collapse-o-matic/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Baden

    (@baden03)

    Ok…
    trigpos would look like:

    [expand title="Open" trigpos="below"]Target Content[/expand]

    and swaptitle would look like:

    [expand title="On" swaptitle="Off" swapalt="Turn off the lights!"]Target Content[/expand]

    Put them togher and you get:

    [expand title="On" swaptitle="Off" swapalt="Turn off the lights!" trigpos="below"]Target Content[/expand]

    Does that help?

    Thread Starter selbers

    (@selbers)

    Yes, this works perfectly!

    Thank you so much ??

    Thread Starter selbers

    (@selbers)

    1 more question. I just realized that when the text is expanded, it is no longer justified like the rest of the paragraph. In the visual editor, it is justified though. Is there a reason for this, or a way to fix it?

    I would post a link, but the site is not yet live.

    Hope you can help ??

    Thread Starter selbers

    (@selbers)

    Aaah never mind, I found the solution. Very easy, silly me!

    Thanks again for the help on combining the shortcodes!

    Plugin Author Baden

    (@baden03)

    Glad everything worked out. Issue marked as resolved. If you are happy with the plugin or it’s support, consider leaving a review.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Combine swaptitle and trigpos’ is closed to new replies.