WordPress.org

Support

Support » Plugins and Hacks » Collapse-O-Matic » [Resolved] Not able to get plugin work

[Resolved] Not able to get plugin work

Viewing 4 replies - 1 through 4 (of 4 total)
  • 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.

    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 🙂

    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.

    Plugin Author Baden

    @baden03

    Glad you got the issue resolved!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Resolved] Not able to get plugin work’ is closed to new replies.
Skip to toolbar