• Resolved modigliani1

    (@modigliani1)


    Hi there,

    I just went in to edit one of my pages and realized that all of the collapsable divs on the page are permanently expanded. I looked through the code to see if I missed and /expand shortcode and couldn’t find one. I don’t think it’s the edit I made because I didn’t publish it and the problem was still there, and I also just updated my version of WP as well as Collapse-O-Matic and 4 or so other plugins so I think this might have something to do with it. I tried uploading 1.7.2c as well w/ no luck. Can you take a look at my site and let me know if you have any suggestions?

    http://colebrookfinancial.com/press-releases/

    Best,

    _Mike

    https://ww.wp.xz.cn/plugins/jquery-collapse-o-matic/

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

    (@baden03)

    Mike,

    It seems that there is a error with the ‘scroll to top’ feature of your theme throwing a js error:

    jquery.js?ver=1.12.3:2 Uncaught Error: Syntax error, unrecognized expression: a[href=#top]

    Try telling collapse-o-matic to load it’s scrips in the header. This might resolve the collapse issue, but your really should get the #top issue resolved, regardless.

    Hello, i am having this same issue.

    I’ve updated wordpress and the plugin (was using version 1.5.3)
    and everything stopped working. It seems a jquery conflict. I’ve got that same error message in the console, got the solution, but the it’s not working yet.

    This is the page, is a custom “roll your own” that i’ve made, where expands following the content.

    http://saad-studio.com/thinking-branding-design/

    The code

    <a href="<?php $image_url = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ),'full' ); echo $image_url[0];  ?>
    " id="imgthink"><?php if ( has_post_thumbnail() ) { the_post_thumbnail(); } ?><span>&nbsp;</span></a>
    
    <?php if(strpos(get_the_content(),'id="more-')) : global $more; $more = 0;  the_content('<span id="mas">(...)</span>'); ?>
    
    <div id="target-mais<?php the_ID(); ?>" class="collapseomatic_content" style="position:relative;margin-top: -12px;">
    <?php $more = 1; the_content('', true ); else : the_content(); endif; ?>
    <div class="citath ceq"><?php the_field('citac'); ?></div>
    </div>
    
    <a class="collapseomatic" title="continue lendo" id="mais<?php the_ID(); ?>" href="<?php $currentlang = get_bloginfo('language'); if($currentlang=="pt-BR"){echo get_permalink( 162 );} else {echo get_permalink( 1085 );}?>#<?php echo $post->post_name;?>"><span class="morec dow"><?php pll_e('continue'); ?> <div class="dowh"></div></span></a>
    <a id="swap-mais<?php the_ID(); ?>" style="display: none;" class="obg"><span class="collapseomatic colomat-close morec clos"><div class="closh"></div></span></a>
    Thread Starter modigliani1

    (@modigliani1)

    That worked like a charm, thanks for the help Baden.

    Plugin Author Baden

    (@baden03)

    Mike, glad you got it worked out!
    @modigliani1 since you do not have the same problem, we will be marking this issue as resolved.

    Your issue has to do with a JS error being thrown by your theme:

    Uncaught TypeError: jQuery(...).placeholder is not a function

    Being thrown by:
    http://saad-studio.com/wp-content/themes/saad/js/responsive-plugins.js?ver=1.2.3
    Please open support issue with your theme developer.
    If nojoy, then open a new thread here, and we try and get you fixed up.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Plugin stopped working after updates’ is closed to new replies.