Forums

[Plugin: Clean Archives Reloaded] Can not make Collapse as default (4 posts)

  1. Joyee.Yu
    Member
    Posted 2 years ago #

    I find out it can not load the below code in archives page.

    <style type="text/css">.car-collapse .car-yearmonth { cursor: s-resize; } </style>
    <script type="text/javascript">
    /* <![CDATA[ */
    jQuery(document).ready(function() {
    jQuery('.car-collapse').find('.car-monthlisting').hide();
    jQuery('.car-collapse').find('.car-monthlisting:first').show();
    jQuery('.car-collapse').find('.car-yearmonth').click(function() {
    jQuery(this).next('ul').slideToggle('fast');
    });
    jQuery('.car-collapse').find('.car-toggler').click(function() {
    if ( 'Expand All' == jQuery(this).text() ) {
    jQuery(this).parent('.car-container').find('.car-monthlisting').show();
    jQuery(this).text('Collapse All');
    }
    else {
    jQuery(this).parent('.car-container').find('.car-monthlisting').hide();
    jQuery(this).text('Expand All');
    }
    return false;
    });
    });
    /* ]]> */
    </script> `

    http://wordpress.org/extend/plugins/clean-archives-reloaded/

  2. Joyee.Yu
    Member
    Posted 2 years ago #

    How can I fix it

  3. Sounds like your theme is missing <?php wp_head(); ?> from right before </head>. This is a required theme hook.

  4. Joyee.Yu
    Member
    Posted 2 years ago #

    got it, thank you Viper007Bond

Topic Closed

This topic has been closed to new replies.

About this Topic