Support » Plugin: Collapse-O-Matic » Hide Excerpt on Expand

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

    (@baden03)

    Yes. Please update to version 1.5.2c available from our Plugin Oven. 1.5.2c includes a new attribue: swapexcerpt

    It can be also used to remove the excerpt like so:

    [expand title="trigger text" excerpt="the excerpt" swapexcerpt=""]Target Content[/expand]

    Please let us know if that works for you!

    Hi there,

    This isn’t working for me unfortunately.
    I’m using the 1.5.2c version and would like to achieve the following situation:

    [Post Excerpt]
    [Read More]

    after click:

    [Post Content]
    [Read Less]

    But instead I get this:

    [Post Excerpt]
    [Read More][Post Content]

    and after click nothing happens…

    This is my function which calls the shortcode in my functions.php:

    echo do_shortcode('[expand title="'.__('Read More','textdomain').'" swaptitle="'.__('Read Less','textdomain').'" excerpt="'.get_the_excerpt($post->ID).'" swapexcerpt="" excerptpos="above-trigger" trigclass="more-tag button small left"]'.get_the_content($post->ID).'[/expand]');

    Any idea what I’m doing wrong?
    Thanks!

    Plugin Author Baden

    (@baden03)

    Please post a link to your page to assist in troubleshooting.

    Turned out to be a one-page theme issue…
    I switched to using a custom made jquery function to avoid conflicts with other scripts.

    Plugin Author Baden

    (@baden03)

    Glad you got it sussed out.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Hide Excerpt on Expand’ is closed to new replies.