BuddyBoss Home – Web Support Forums Themes BuddyBoss theme Move javascript and css to the footer and compress

Tagged: ,

Viewing 2 posts - 1 through 2 (of 2 total)
  • Question

    #56290
    @boris-kamp

    Hi guys, I have a sh*tload of js and css in my head due to buddyboss and bbpress, this is bad, render blocking.
    Why don’t you guys load fitvids and buddyboss-main in the footer by setting the last parameter of wp_enqueue_script to true?

    I know I can dequeue and requeue to do this myself, but it would be great if this changes in the core.
    if not possible, whats the odds of the filepaths of
    get_template_directory_uri().'/js/fitvids.js'
    get_template_directory_uri().'/js/buddyboss.js'
    changing over the course of updates? aka, is it safe to dequeue and requeue using that path or could it break in future upgrades because the location changed?

    same goes for all the css files…..

    another very easy thing for you guys to fix, why don’t you compress the js and css that’s in the /css and /js folders?
    doing pagespeed tests with all my websites, that’s why Im after this.

    Thanks!

    Answers

    #56340

    Anonymous
    @

    Hi @boris-kamp, you can use WP better minify plugin to change the position without writing any codes
    and you can also compress them

    We will add option for js and css compress in our future updates.

    Regards
    Varun Dubey

Viewing 2 posts - 1 through 2 (of 2 total)
  • The question ‘Move javascript and css to the footer and compress’ is closed to new replies.