WordPress.org

Ready to get started?Download WordPress

Forums

Collapse-O-Matic
[resolved] Collapse not working on mobile theme (9 posts)

  1. dk4210
    Member
    Posted 1 year ago #

    Any one know why the accordion does work on mobile devices such as Iphone and Android OS?

    http://wordpress.org/extend/plugins/jquery-collapse-o-matic/

  2. dk4210
    Member
    Posted 1 year ago #

    I meant Not working

  3. Baden
    Member
    Plugin Author

    Posted 1 year ago #

    How about a link there buddy.

  4. dk4210
    Member
    Posted 1 year ago #

    Sorry about that
    http://starhousefoundation.org/stories/

    Doesn't work on my mobile device

  5. Baden
    Member
    Plugin Author

    Posted 1 year ago #

    Which mobile theme are you using? Is it part of your theme, or a plugin?

  6. dk4210
    Member
    Posted 1 year ago #

  7. Baden
    Member
    Plugin Author

    Posted 1 year ago #

    OK, try this:

    Open up header-default.php under the theme folder > header > header-default.php and look for:

    echo trim(str_replace(
    	array("'", "\n", '/'),
    	array("\'", '', '\/'),
    	$wp_scripts
    ));
    
    ?>');
    	//--></script>
    </head>

    right before the closing </head> tag add <?php wp_head(); ?> like so:

    echo trim(str_replace(
    	array("'", "\n", '/'),
    	array("\'", '', '\/'),
    	$wp_scripts
    ));
    
    ?>');
    	//--></script>
    <?php wp_head(); ?>
    </head>

    Let us know how it works out for you.

  8. dk4210
    Member
    Posted 1 year ago #

    Worked like a champ.. Thanks for the quick and excellent help!

  9. Baden
    Member
    Plugin Author

    Posted 1 year ago #

    Good to hear! Don't forget to vote for Pedro!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic