bassjobsen / jbst

Powerful theme framework that can be used as a standalone website builder or as a framework to create child themes for wordpress build on Twitter's Bootstrap 3. Full customizable with LESS
http://www.jbst.eu/
GNU General Public License v2.0
96 stars 36 forks source link

How to Remove the logo position filter from header? #103

Closed bassjobsen closed 10 years ago

bassjobsen commented 10 years ago

Questtion from @linearis

bassjobsen commented 10 years ago

Thanks for you good and helpful question. First i found in the source jbst_logo() was a function. In the next update i create a filter for this (and removed the function from library/core.php tp functions/jbst-header-functions.php ).

Now you can remove the logo with:

 add_filter('jbst_logo', function(){return '';});
bassjobsen commented 10 years ago

In the current situation. One can choose between the logo inside or outside the navbar, with these settings depending of uploaded a logo, the uploaded logo or the brand text is shown.

It seems there should be a setting for no logo at all. Also the "brand text" should be changeable. The text is now set by get_bloginfo('name'). This should be replaced with a filter.

For future logo change also https://github.com/bassjobsen/jamedo-bootstrap-start-theme/issues/98 should be considered again