Skip to:

Constant CSS (global styles) for Home and Members

  • Profile photo of Blackcat09


    I am brand new to buddypress and have only been using wordpress for a couple week so excuse me if there are obvious answers to my questions.

    Is there a way to use a global style sheet in the members and home templates without hard coding the path?

Viewing 1 replies (of 1 total)
  • WordPress allows you to subscribe to the wp_head filter to add things through plugins to your site. More information is found here on that. An example of this in use would be looking at this one even though it is a little different than you are looking for, but gives idea how to do it.

    Really, you create a little plugin to put in your /mu-plugins/ folder that has a function that adds the stylesheet to the wordpress header of every page. Then you subscribe that function to the wp_head filter.


Viewing 1 replies (of 1 total)
  • The topic ‘Constant CSS (global styles) for Home and Members’ is closed to new replies.
Skip to toolbar