Skip to:
Content
Pages
Categories
Search
Top
Bottom

Constant CSS (global styles) for Home and Members


  • blackcat09
    Member

    @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.

    Trent

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