Skip to:
Content
Pages
Categories
Search
Top
Bottom

how to enqueue scripts only in buddypress pages

  • @kandombe

    Member

    hi, i wont to know, how can i enqueue the scripts of buddypress only in buddypress pages

    wp-includes/js/jquery/jquery.js

    /* <![CDATA[ */
    var BP_DTheme = {
    my_favs: “My Favorites”,
    accepted: “Accepted”,
    rejected: “Rejected”,
    show_all_comments: “Show all comments for this thread”,
    show_all: “Show all”,
    comments: “comments”,
    close: “Close”,
    mention_explain: “@ is a unique identifier for Juan that you can type into any message on this site. Juan will be sent a notification and a link to your message any time you use it.”
    };
    /* ]]> */

    wp-content/plugins/buddypress/bp-themes/bp-default/_inc/global.js?ver=3.2.1′
    wp-load.php

    they make my site slower in places where they are not necessary

  • The topic ‘how to enqueue scripts only in buddypress pages’ is closed to new replies.
Skip to toolbar