• Resolved uksentinel

    (@uksentinel)


    Hi

    The latest bbp style pack update has new feature – (bsp_enqueue_css_dependancy)

    Can somebody advise how this is implemented ?

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Robin W

    (@robin-w)

    it is simply there for themes/plugins that deregister bbp-default css and register their own.

    so if your theme then adds the bbpress code to say a file which is then registered as ‘new-css’ the you would add this to your child theme’s function file

    add_filter ('bsp_enqueue_css_dependancy' , 'rew_css_dependancy') ;
    
    function rew_css_dependancy ($dependancy = array()) {
                   $dependancy = array('new-css') ;
    return $dependancy ;     
    }
    
    Thread Starter uksentinel

    (@uksentinel)

    Hi Robin

    Perfect and thank you for the explanation, I will definitely be trying this new option

    As always, great Plugin and great support ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘bbp style pack new feature – bsp_enqueue_css_dependancy’ is closed to new replies.