[resolved] Not able to get plugin work (5 posts)

  1. Barboocha
    Posted 2 years ago #

    Hi all,

    I find out, I am not able to get Collapse-O-Matic work. But it is exactly what I need.

    I installed the plugin and activated it. Than I tried to use it on some of my pages but it only show both texts and thats all. In my desperation I tried to put jquery library on this page, but it didn't work.

    What I am doing wrong?

    Thank you very much



  2. JCKnoell
    Posted 2 years ago #

    Maybe post your code from your page so we can see what your shortcode looks like?
    It doesn't seem to be loading the plugin at all, but there aren't any errors on your site.
    Either the plugin isn't active, or your shortcode isn't recognizing it... That would be my guess anyway.

  3. Barboocha
    Posted 2 years ago #

    Thank you for your reply.

    The plugin is active in my wordpress administration. But yes, I looks like shortcode is not recognizing it. This is default code of my page. Other things are generated by wp.

     * Template Name: Nabídka
    <!DOCTYPE html>
            <title>Řekni si web!</title>
            <meta charset="UTF-8">
            <meta name="viewport" content="width=device-width, initial-scale=1.0">
            <link rel="stylesheet" type="text/css" href="<?php echo get_template_directory_uri(); ?>/css/style.css"/>
            <link rel="icon" type="image/gif" href="<?php echo get_template_directory_uri(); ?>/favicon.ico" />
        <body id="active">
            <div id="wrapper"> 
                    <div id="menu">
                    <?php wp_nav_menu( array( 'container' => '', 'items_wrap' => '%3$s' ) ); ?>
                <div id="nabidka_header"></div>
                    <div id="nabidka_content">
    					<?php while ( have_posts() ) : the_post(); ?>            	                                   
    						<?php the_content(); ?>                                                               
    					<?php endwhile; // end of the loop. ?>
                    <div id="odkazy_subpage_nabidka">
                                <td id="minutky_odkaz"><a href="http://www.reknisiweb.cz/minutky"></a></td>
                                <td id="objednat_odkaz"><a href="http://www.reknisiweb.cz/objednat"></a></td>
                <div id="footer_nabidka">   <div>Copyright © 2014 Reknisiweb.cz </div>

    It is not necessary to post cascade too, u can display my cascade stylesheet straight on my page. :)

    Thank you :)

  4. Barboocha
    Posted 2 years ago #

    Sooo! I finally find out, where the problem was. I didn't have these footer and header tags in my code. That's why plugin can not put there its javascript. :)

    <?php wp_head(); ?>
    <?php wp_footer(); ?>

    Thank you for your help.

  5. Baden
    Plugin Author

    Posted 2 years ago #

    Glad you got the issue resolved!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Collapse-O-Matic
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.