WordPress.org

Forums

Collapse-O-Matic
[resolved] Not able to get plugin work (5 posts)

  1. Barboocha
    Member
    Posted 1 year 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

    http://www.reknisiweb.cz/nabidka

    https://wordpress.org/plugins/jquery-collapse-o-matic/

  2. JCKnoell
    Member
    Posted 1 year 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
    Member
    Posted 1 year 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.

    <?php
    /*
     * Template Name: Nabídka
     */
    ?>
    <!DOCTYPE html>
    
    <html>
        <head>
            <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" />
        </head>
    
        <body id="active">
    
            <div id="wrapper"> 
    
                <nav>
                    <div id="menu">
                    <?php wp_nav_menu( array( 'container' => '', 'items_wrap' => '%3$s' ) ); ?>
                    </div>
                </nav>
    
                <div id="nabidka_header"></div>
    
                <div>
                    <div id="nabidka_content">
    					<?php while ( have_posts() ) : the_post(); ?>            	                                   
    
    						<?php the_content(); ?>                                                               
    
    					<?php endwhile; // end of the loop. ?>
                     </div>
    
                    <div id="odkazy_subpage_nabidka">
                    <table>
                            <tr>
    
                                <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>
    
                            </tr>
                        </table>
                    </div>
                </div>
    
                <div id="footer_nabidka">   <div>Copyright © 2014 Reknisiweb.cz </div>
    
                </div>
    
            </div>
    
        </body> 
    
    </html>

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

    Thank you :)

  4. Barboocha
    Member
    Posted 1 year 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
    Member
    Plugin Author

    Posted 1 year 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

Tags

No tags yet.