
I’ll go over the big question of WHY responsive web design is all the rage and then link that into Bootstrap and Wordpress development.
Introducing all the sections and what they cover
How to start a Discussion
How to create a course Review
Go into a course
How courses are marked watched
Important to take all lectures
How to play the videos
Bad example - www.sphere.bc.ca/test/sruniverse.html
Simple example - google.com
Newspaper - www.nytimes.com
-5 columns
-non responsive
Newsweek - www.newsweek.com
-responsive
-bootstrap 3
Class
-container - around all
-row - contains the columns
-col-md-xx - for the content
Use CDNs when they are available!
Why?
Let others worry about hosting these common files
Better performance
Better when moving the project into the "real world"
Go to GetBootstrap.com - Getting started
bootstrap.min.css -> style.css
bootstrap.min.js - bootstrap.html
The zip file with the code for the prototype
Here we go over the coding needed to get the WordPress loop to show us the posts.
NOTE
There is a small error in the coding is this video. There is a missing equal sign after the href in the a tag - before the URL. The download has the correct code.
Problems:
-extra space
-xs should be one col
Cool feature:
thumbnail pop out effect
Better:
col-sm-6
Delete
<div>
Add to php front - $i=0
Add clearfix
<?php if ($i % 4 == 0) { echo '<div></div>'; } ?>
<?php if ($i % 2 == 0) { echo '<div></div>'; } ?>
Add to php back - $i+=1;
Add class
<div>
Cool img effect in CSS
.thumbnail img:hover {
transform: scale(1.1);
border-radius: 5px;
}
.thumbnail img {
transition: all 0.3s ease;
width: 100%;
}
Bootstrap Carousel Integration WordPress
----------------------------------------
copy Carousel from bootstrap.html
Before the carousel:
<?php if(is_front_page()) {?>
<?php query_posts('showposts=3&post_type=post'); ?>
After the carousel:
<?php } wp_reset_query(); ?>
The WordPress loop:
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); $i++; ?>
<?php if ($i==1) { ?>
<div>
<?php } else { ?>
<div>
<?php } ?>
<?php if ( has_post_thumbnail() ) {
$url = wp_get_attachment_url( get_post_thumbnail_id() );
?>
<img src="<?php echo $url; ?>" alt="<?php the_title(); ?>">
<?php } ?>
<div>
<div>
<h1><?php the_title(); ?></h1>
<p><a href="<?php the_permalink(); ?>" role="button">Read more...</a></p>
</div>
</div>
</div>
<?php endwhile; endif; ?>
STAGE 2 - style.css
-------
.carousel .item {
background-color: #000;
}
.carousel-inner > .item > img {
margin: 0 auto;
width: auto;
height: 500px;
}
Check out the current website and why we would like to allow
the user to make changes to the branding.
Check the Appearance Customize menu
Check the WordPress codex Theme Customization page:
https://codex.wordpress.org/Theme_Customization_API
...and some examples of controls you can use:
https://codex.wordpress.org/Plugin_API/Action_Reference/cust
omize_register
Functions.php
=============
Add:
function wpbootstrap_theme_customizer( $wp_customize ) {
$wp_customize->add_section(
'wpbootstrap_logo_section' , array(
'title' => __( 'Logo', 'wpbootstrap'
),
'priority' => 30,
'description' => 'Upload a branding logo to
the header',
) );
$wp_customize->add_setting( 'branding_logo' );
$wp_customize->add_control( new
WP_Customize_Image_Control( $wp_customize, 'branding_logo',
array(
'label' => __( 'Upload a logo',
'wpbootstrap' ),
'section' => 'wpbootstrap_logo_section',
'settings' => 'branding_logo',
) ) );
}
add_action( 'customize_register',
'wpbootstrap_theme_customizer' );
Here are the downloads:
UPDATE: Added for Winter 2015-2016:
Get the Bootstrap 3 WordPress Theme course NOW while the price is still low ... just CHECK OUT THE REVIEWS below!
Join more than 5000 students who have started the Bootstrap 3 WordPress Theme course ... a HUGE thank you to each and everyone. Do not miss out - TAKE THIS COURSE NOW!
======================================================
WordPress and Bootstrap 3 is like a box of chocolates!
Sink your teeth into some amazing and tasty Bootstrap 3 treats. Enjoy the sweet aroma when you crack open the colorful pieces of smooth CSS and HTML goodies.
Delight your guests with an attractive and custom baked website that you magically piece together into a wonderful WordPress theme.
ENLIST NOW in the Develop a Bootstrap 3 WordPress Theme course to inspire your boss and draw in new customers with your stunning skills.
======================================================An Excellent Course for Bootstrap Combined with WordPress. The instructor provides a clear and concise description of his work every step of the way. He demonstrates his knowledgeable coding skills using Notepad++ . The voice and quality of the production were excellent. I thoroughly enjoyed this course and I would recommend this to any developers or designers, beginner and advanced, interested in learning new concepts to further enhance their skills into the inner workings of Bootstrap and WordPress theming.
+Susan Cork
======================================================
Bootstrap 3 is a fantastic framework for creating websites that LOOK GREAT on all internet browsers – from mobile and tablets to desktops.
WordPress is simply the most popular website creation platform and content management system on the face of the Earth!
Bootstrap 3 and WordPress are sizzling HOT and TRENDING right NOW and FREE to use :)
Master developing for the Bootstrap 3 and WordPress Theme platforms and you'll become the obvious expert of choice!
In this course, I take you by the hand and walk you step-by-step through the slick Bootstrap HTML and CSS framework and help you build your own stunning WordPress Theme from scratch!
Learn how to create a WP Theme using Bootstrap 3 ... Enroll Now!
======================================================Expert Guidance on Responsive Web Design with WordPress and Bootstrap 3 This course is great in explaining about responsive web design with WordPress and Bootstrap 3. The structure of the course has been well planned - each lesson is presented with great clarity in a concise, right to the point manner and the course progresses in a smooth, logical flow. From designing the prototype to creating the WordPress theme, this course is about as comprehensive as it should be without overwhelming me with too much information. Thrandur (the instructor) covers each topic with amazing attention to detail in an engaging tone. Also, working files and external resources are generously provided whenever applicable. What impresses me most are the insights he shares based on his own experience ... the practical tips that would save me a lot of time from having to figure it out myself. In a nutshell, if you're looking to learn about responsive web design with WordPress and Bootstrap 3, this course will help you get there effectively. +Michael Lim
======================================================DISCOVER HOW TO BUILD
Develop a Responsive WordPress Theme with Bootstrap 3 takes you stepbystep from getting set up and idea creation to a working theme that you can use or sell to high-paying customers!
If you want to make money creating websites that are easy to make and look amazing on all devices this course is for you.
Get up and running in the best-practice Bootstrap 3 framework and WordPress platform.
... and much, much more!
ONE FINAL POINT
Now you can have your own WordPress Bootstrap 3 Theme up and running today, right after going through this course ... and be earning big soon after that!
Click the "take this course" button, top right, now ... every hour you delay is costing you money...
Learn first hand how I create a WordPress Theme using Bootstrap 3. Scroll up and Enlist Now!