• Micha? M posted a new activity comment: 2 years, 3 months ago

    In reply to: Tom posted an update: I can’t any of my custom jquery to work without calling googleapi jquery after WP_head. Do I remove jquery from bp and load it myself, or can I get the jquery that bp loads to do it by some […] View

    @tmort
    1. yes. if you specify dependencies wordpress loads them automatically.
    2. yes. wordpress loads these libraries in a way that avoids conflicts.

    i just noticed i wrote wp_register_script instead of wp_enqueue_script.

  • In reply to: Tom posted an update: I can’t any of my custom jquery to work without calling googleapi jquery after WP_head. Do I remove jquery from bp and load it myself, or can I get the jquery that bp loads to do it by some […] View

    Micha? M posted a new activity comment: use wp_enqueue_script() to load a script with dependencies.

    e.g. wp_register_script(‘my-script-name’, plugins_url(‘/plugin-name/js/my-script.js’), array(‘jquery’));
    the last parameter is and array of script names that your script depends on.

    there’s a list of included script names along with full…[Read more]

  • In reply to: View

    Micha? M posted a new activity comment: on that topic, posting an update with the my favorites tab open shows that update in the favorites tab.
    then clicking the favorite link hides the update.
    of course, refreshing fixes this display issue. 2 years, 4 months ago

  • In reply to: View

    Micha? M posted a new activity comment: reply test 2 years, 5 months ago

  • Micha? M became a registered member 2 years, 5 months ago