Git Product home page Git Product logo

brew's Introduction

Brew 0.9

A Wordpress starter theme based on Bones and Bootstrap 3

Created by Dan Brown: http://danvswild.com

Demo

Home Screen

I searched, but I couldn't find a Wordpress starter theme that was based on Bootstrap 3 that I liked. BREW is just pulling together excellent projects such as bootstrap, wordpress, bones, etc into a simple starter theme. This is very lightweight with only some very mild CSS changes to make everything look nice out of the box. My goal is to provide a solid foundation for anyone wanting to develop a wordpress theme with bootstrap.

header screnshot:

Home Screen


footer screenshot:

Home Screen

Features:

  • LESS
  • Bootstrap 3
  • Bones
  • sidebar and footer widgets
  • Very clean out-of-the-box experience
  • pagination
  • breadcrumbs
  • Font Awesome
  • Redux Options Framework
  • Easy to add metaboxes

Updates since v.6:

  • Updated to Bootstrap 3.1
  • Added FitVid to make video embeds responsive
  • Removed SASS for now (need to figure out how to keep it up to date)
  • added author profile box
  • updated default styles
  • organized LESS files
  • Added recommended CSS from wordpress for image alignment, text alignment, etc
  • Updated FontAwesome to v.4
  • Various Bug Fixes
  • Bunch of other stuff I can't remember

To use:

  1. download zip and upload as wordpress theme.
  2. set your variables at /less/custom-variables.less
  3. add customize and add new LESS files in /less/brew

To do before v1.0:

  • Combine JS files
  • Look in to combining functions.php/brew.php/bones.php
  • Finalize all included pages/php files. Not all have been updated.
  • Set up Grunt

Providing credit where credit is due:

brew's People

Contributors

dimanotdemo avatar garrettboatman avatar slightlyoffbeat avatar yitzchak avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

brew's Issues

Redux - media

Hi, in the header I want to put the option to insert an image as logo. But the "image default" option does not work for me. My code in the "option- config.php" file:

$this->sections[] = array(
                'icon' => 'fa fa-hand-o-up',
                'title' => __('Header', 'brew-framework'),
                'fields' => array (
                    array(
                        'id'=>'logo_header',
                        'type' => 'media',
                        'url'=> true,
                        'title' => __('Header Logo', 'brew-framework'),
                        'compiler' => 'true',
                        //'mode' => false, // Can be set to false to allow any media type, or can also be set to any mime type.
                        'desc'=> __('Upload your logo, optimal size for logos is between 250px wide and 150px high.', 'brew-framework'),
                        'subtitle' => __('', 'brew-framework'),
                        'default'  => array(
                                'url'=> get_template_directory_uri() . '/library/images/logo-default.png'
                            ),
                        ),
                    ),
                );

I uploaded the image "logo- default.png" in the directory "/library/images/". I do not know why it does not work.

theme errors

Problem:
when I activate brew, I get the following warnings:

Warning: count(): Parameter must be an array or an object that implements Countable in /valet/millenium/wp-content/themes/Millenium/library/metabox/init.php on line 714

Deprecated: Function create_function() is deprecated in /valet/millenium/wp-content/themes/Millenium/library/admin/ReduxCore/framework.php on line 918

Deprecated: Function create_function() is deprecated in /valet/millenium/wp-content/themes/Millenium/library/admin/ReduxCore/framework.php on line 918

Deprecated: Function create_function() is deprecated in /valet/millenium/wp-content/themes/Millenium/library/admin/ReduxCore/framework.php on line 918

Deprecated: Function create_function() is deprecated in
/valet/millenium/wp-content/themes/Millenium/library/admin/ReduxCore/framework.php on line 933

What I Have Tried:

  • downloading a new version of brew (master branch) from github but the errors were still there
  • deactivating all plugins (the warnings were still there)
  • using a different theme (the warnings went away when I used a different theme, but they returned when I deactivated brew)

Question:
How can I fix these warnings?

gallery support

Hi, is there any planned support for galleries in this? I know wordpress galleries are not very popular but still it would be nice to maybe use a non collapsing (col-xs-*) grid for galleries. Happy to fork and work on this if I have time, depending on what your plans are.

Breadcrumbs

The breadcrumb trail doesn't seem to pull in parent pages. It only returns the current page and then the home page but no pages in between. Any thoughts? Btw, I'm using the current dev build.

Order of includes in style.scss causing problems

The "custom-variables" import is done after a lot of the imports that use some of the custom variables so they don't get applied when compiling. In my version I moved the @import("custom-variables") to just below the reset imports and it works fine now.

3 level dropdowns?

I have a main menu with a structure
Level1item
_Level2 item
__Level 3 item
Level1item

Only levels 1 and 2 show, even though i changed the depth to 3 in bones_main_nav(). Any clue as to what can be the issue?

Custom Sidebar Issue

When I followed the example of creating a new sidebar, everything works great except it doesn't format currently when viewing it on a mobile device. It doesn't pull to the left side completely and the margins/padding is off. It's like it's not pulling in the CSS correctly. I'm sure it's an easy fix, but I can't seem to figure it out.

pages in the menu that have child items cannot be navigated to from the menu

I have an 'About' page in the menu with an 'Our Team' page as a child in the menu. When I click 'About', a dropdown is revealed under it containing the 'Our Team' page which I can than click and navigate to. How do I navigate to the about page from the menu?

When I just add '/about' to the end of the URL it shows the page, so it does exist.

Missing page title

I installed brew on two different sites with WP 3.8 and and in both cases < title > tag is empty for the Homepage using included Home page template

Home page title

Every time when I install the theme the static front page does not have the title in the browser's tab. There is always a link showing.
On the other pages like Contact page, it displays the title.

Language strings aka. load_textdomain

I noticed that the theme are using load_textdomain in stead of load_theme_textdomain

Is that something you have takken into concideration?

I got curious and actually counted the textdomains in the strings. I found about 10-11 different domains. Do you have plans to decrease these to just one or few to have a better overview of the language strings?

Question

Sorry I am new to Github so I apologize if this isnt proper area for this. But is this theme compatible with Multisite?

Glyphicons slow loadtime in submenu

I am using the glyphicons in the menu. Actually in the submenus.

I was aware that clicking in the menu to see the items in the dropdown, the glyphicons are appearing just 2-3 seconds after (The texts of the items is appearing normally).

My question is if it has something to do with the theme?
Does this issue appear to other users of the theme?

Search result highlighting

function wps_highlight_results($text){
if(is_search()){
$sr = get_query_var('s');
$keys = explode(" ",$sr);
$text = preg_replace('/('.implode('|', $keys) .')/iu', ''.$sr.'', $text);
}
return $text;
}
add_filter('the_excerpt', 'wps_highlight_results');
add_filter('the_title', 'wps_highlight_results');

I added this snippet to the brew.php but it "highlights" also the read more button because of the .the_title tag.

' . __("Read more on","bonestheme") . ' "'.the_title('', '', false).'" »'); ?>

Postname not working in WP 3.8.1

When changing the "Links Permanents" to /%postname%/ all pages displays Page not found.

Actually, the homepage is showing fine, but all other pages are not showing for some reason.

When changing back to Default (http://localhost/theme/?p=123) then the theme works fine.

I use Wordpress 3.8.1 (I was wondering if the theme works with that version?)

init_embed.js

this file is throwing up the following error.

Blocked a frame with origin "https://www.google.com" from accessing a frame with origin "http://www.domain-name.com". The frame requesting access has a protocol of "https", the frame being accessed has a protocol of "http". Protocols must match.

Active development?

@slightlyoffbeat - was psyched to see a bootstrap variation of Bones, I've been building off of Bones for a few years now but have been wanting to incorporate bootstrap though i'm not quite sure if i'm ready to throw my dev workflow completely out the window and be forced to adopt Root's theme wrapper concept.
However I'm not seeing alot of movement here the past few months, and noticed that bootstrap wasn't up to date. Has development dried up or are things just slow at the moment? Thanks!

Redux framework

I dont know where to ask, I dont really know how to use redux framework, are there any good tips. I want to use color picker for background and link. Do I use the framework options?

LESS causing compile errors

Just downloaded the latest version and it's giving syntax errors when I try to compile LESS. I replaced the folder with an earlier version that I had downloaded and it compiles ok. The issues seem to be the missing variables.less file and some syntax errors in mixins.

error: Something went wrong. Your change may not have been saved. Please try again. There is also a chance that you may need to manually fix and upload the file over FTP.

When I try to edit the theme with the theme editor in the dashboard I get this error.

"Something went wrong. Your change may not have been saved. Please try again. There is also a chance that you may need to manually fix and upload the file over FTP."

I've tried deactivating the plugins one at a time and trying and still no luck. I also tried with all plugins deactivated at the same time and still no luck.

I checked the permissions. All files are 644 and the library and screenshot folders are 755.

Has anyone else had this problem and if so, how was it resolved?

Thanks

Error when compiling to Less

When I compile the Less using WinLess I encounter different Error on WinLess.
Like Variable Undefined on the wp-styles.less, Box-shadow undefined in content.less, etc.

single post navigation

How about if single post pagination would be in single.php file instead in coments.php.
When I implemented the Facebook Comment system the navigation looks beter if it's in single post file and still under the author profile.
brew

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.