Skip to main content

Barberside Tonsorial Parlor

San Diego’s Barberside was established in 2007 as a private barbershop that catered to gentlemen only. Shop owner Marvin Attiq’s innovative & in-demand product line required a robust, yet easily-managed, E-Commerce platform. is a partner and could easily assess that their platform would be the ideal solution to get Attiq’s products moving swiftly and allow him to take the reins after development.

San Diego Troubadour

Established in 2001, the San Diego Troubadour is a free local music newspaper, featuring CD reviews, concert dates, and articles on musician’s latest musical developments. Their new web site was launched in 2011. Building off the WordPress content management platform, was tasked to combine the grassroots vibe of this homegrown newspaper with the functionality of a modern blog and the interactivity of web 2.0. In addition to posting a plethora of new articles every month, the client is also adding older issues to the archives. The entire legacy of the newspaper will soon be available in web format.

Tonbo Biosciences

Our founder, Chris Clarke, developed the ecommerce platform, as well as the entire Order to Cash business process for Tonbo. We manage all HTML, CSS, Javascript, as well as LAMP stack development for Tonbo and evolved the site design to where it is today. Launched in January of 2013, Tonbo Biosciences is a biotech company in San Diego that focuses on flow cytometry reagents for immunology-based researchers.

UPDATE: Bootstrap Carousel = WordPress Dynamic Content

This is an update to my original post How to make Bootstrap Carousel display WordPress Dynamic Content, so I’ll keep it short…

The Original Source Code


Note: Bootstrap developers have added the .carousel-indicators feature sometime after my original post. Below, you will see my solution for generating the “data-slide-to” values dynamically…

Now with WordPress template PHP for dynamic content


Of course you’re free to pass all sorts of arguments within the query_posts('/*your_arguments*/');. I’ve left out “posts_per_page” this time, allowing the default to be whatever you have for Dashboard Settings > Reading > Blog pages show at most = “?” posts.
Note: I’ve removed .active from the .carousel-indicators li, as well as from the .carousel-inner .item. We’ll add it back with jQuery…

Add “active” Class to first items

$(“.carousel-indicators li:first”).addClass(“active”);
$(“.carousel-inner .item:first”).addClass(“active”);
The script must be called after the bootstrap js file, and preferably this is all happening in the footer.

Insert a Paged Blog Loop anywhere in your WordPress theme

$temp = $wp_query;
$wp_query = null;
$wp_query = new WP_Query();
$wp_query->query(‘post_type=post&posts_per_page=5′.’&paged=’.$paged); ?>

have_posts()) : $wp_query->the_post();?>

Note that the <?php bootstrap_pagination();?> function has already been discussed in our post “Add Twitter Bootstrap Pagination to your WordPress Theme“.

I won’t spend too much time explaining this one. Just know that this will start an independent loop of your choice anywhere you want in your theme templates. And it correctly incorporates wp’s pagination feature, which can be tricky. I primarily use this code in a template I call blog.php. Many clients want either a static home page, or magazine-style home page, but still want a blog-reel displayed elsewhere (a la the common index.php). My blog.php template featuring the above code can be easily added to any internal page of their choice. Of course, there are countless ways to customize the query parameters.