WooThemes

The WooThemes Blog

All the latest news and announcements, straight from the WooThemes HQ!

Subscribe

Can you see the Whitelight?

81

by Magnus in Blog

whitelight

Our first business theme in 2012 is a beauty! We wanted to let Chris Rowe have another chance at out-designing his previous top seller at WooThemes; Simplicity. So it goes without saying that we have high hopes that Whitelight will be our most popular business theme to date. In addition to being a very clean and great design, here are some of the reasons we think this theme will be big…

Continue Reading »

Whitelight WooCommerce

1

by Magnus in Child Themes, WooCommerce

Child Theme Features


  • WooCommerce Ready

    All WooCommerce features are accounted for and have been scrupulously styled to match the parent themes aesthetic.


  • Woo Approved

    Developed in-house by WooThemes designers and developers, this product ensures guaranteed compatibility with our market leading eCommerce plugin; WooCommerce.


  • Awesome Support

    As with all of our products, after your purchase you’ll gain access to our acclaimed premium support.

Whitelight

9

by Magnus in Business, Responsive

Unique Features

  • Responsive Design

    Fully Responsive Design

    The design will scale to fit on all browser widths/resolutions and on all mobile devices. Go ahead and scale your browser window and see the results.

  • Featured slider

    Featured Slider

    A custom homepage featured slider to showcase your important content, all powered by the fully responsive FlexSlider, which makes it usable on mobile devices. There is also a normal width slider option in addition to the full width as seen in the demo. You can put images or videos in the slider posts, and link the slider posts to another page or website.

  • Custom Homepage

    Custom Homepage

    In addition to the featured slider, the theme has an optional Intro Message area and also a customized widetized homepage where you can add and re-order the included custom modules (Features, Portfolio, Blog Area, WooCommerce) with the Woo Module widget.

  • Powerful portfolio management

    Powerful portfolio management

    The portfolio section of Whitelight is powered by it’s own custom post type with a summary of your portfolio viewable on the homepage module and then it’s own portfolio page template to house the rest.


  • WooCommerce Goodness

    Whitelight is compatible with WooCommerce through the Whitelight WooCommerce child theme. Read all about the benefits of WooCommerce here.


  • Custom Typography

    You can customize the typography in the theme to suit, and there is full support for Google Fonts in the font selector. By default it is using the Signika font.


  • Custom Widgets

    In addition to the widgetized homepage and the custom module widget, the theme has 1 widgetized sidebar and up to 4 footer widgetized areas, and as always comes with custom Woo Widgets (Ad Space, Blog Author, Video/Embed, WooTabs, Subscribe & Connect, Search, Flickr and Twitter).

  • Home Page Feature Slider

    Styling Options

    The theme includes a variation of alternative styles which you can preview in the demo, and also has styling options for background color/image and setting link and button color.

Add more Google Fonts to options

0

by Magnus in Tutorials

The WooFramework comes with integrated Google Fonts in the options panel, and we try to update these fonts regularly so new ones are added for you to use. Let’s look at a method for you to use if your font isn’t available in the options.

Open up your theme’s functions.php and add this simple function:

// add the function to the init hook
add_action( 'init', 'woo_add_googlefonts', 20 );

// add a font to the $google_fonts variable
function woo_add_googlefonts () {
	global $google_fonts;
	$google_fonts[] = array( 'name' => 'Lustria', 'variant' => ':r,b,i,bi');
}

Here we have added a font name called Lustria, and after adding this it will show up in your options panel.

The new font in the typography option

Replace menu item with an icon

0

by Magnus in Tutorials

Here is a simple guide on how to replace a menu item with an icon. For this example we’ll replace the “Home” item in our Canvas demo.

Your menu needs to be setup using WP Menus for the correct menu ID’s to be outputted.

First, lets find a nice home icon. If you go to IconFinder you can search for “home” and find many nice ones. We’re going to use this one, so download that and upload to your site. Use Media->Add New and copy the URL to the image after uploading.

Next step is to use Firebug to inspect a menu item, so you can find the ID of the list element.

Right click the menu item and inspect element to find the ID to use later.

Once we have the ID we can start adding some CSS to custom.css in your theme through Apperance->Editor.

#menu-item-290 {
     margin-left: 10px;
     width: 32px;
}
#menu-item-290 a {
     background: url("http://cdn2.iconfinder.com/data/icons/gnomeicontheme/24x24/actions/redhat-home.png") no-repeat scroll 0pt 0pt transparent;
     text-indent: -99em;
}

The first style targets the main list element, and sets the width to 32px so it’s the same width as the image, and just moves the image 10px to the right.

The second style targets the link or anchor inside the list element, and sets the background of that anchor to the icon. To hide the text we simply move it off the screen with negative text indent.

That’s it! The finished product will look like this:

The Home linnk replaced by a home icon!

Shelflife

12

by Magnus in Responsive, WooCommerce

Unique Features

  • Responsive Design

    Fully Responsive Design

    The design will scale to fit on all browser widths/resolutions and on all mobile devices. Go ahead and scale your browser window and see the results.


  • WooCommerce Goodness

    Shelflife makes full use of WooCommerce and we’ve painstakingly married theme and plugin to provide a seamless front-end experience. Every single one of WooCommerce widgets has been lovingly styled to match the beautiful design, as has each key component of the plugin such as the product categories, product descriptions, cart, checkout and user account sections. Read all about the benefits of WooCommerce here.


  • Custom Homepage

    The homepage contains three option product showcase areas; a featured product carousel, as well as two intuitive sliders for displaying new and best selling products.


  • Custom typography

    You can customize the typography in the theme to suit, and there is full support for Google Fonts in the font selector. By default it is using the Bitter font.


  • Custom widgets

    The theme has 1 widgetized sidebar and up to 4 footer widgetized areas, and as always comes with custom Woo Widgets (Ad Space, Blog Author, Embed/Video, WooTabs, Subscribe & Connect, Search, Flickr and Twitter). WooCommerce also includes an array of custom widgets.

  • Home Page Feature Slider

    Styling Options

    The theme includes a variation of alternative styles which you can preview in the demo, and also has styling options for background color/image and setting link and button color.

Beveled

7

by Magnus in Personal Blog, Portfolio, Responsive, Tumblog

Unique Features

  • Responsive Design

    Fully Responsive Design

    The design will scale to fit on all browser widths/resolutions and on all mobile devices. Go ahead and scale your browser window and see the results.

  • Featured post slider

    Featured Portfolio Slider

    A custom homepage featured slider to showcase your portfolio content, all powered by the fully responsive FlexSlider, which makes it usable on mobile devices. You can easily use this for photography too.

  • Intro Message

    Intro Message Area

    An easy way to welcome your visitor to your blog, or tell them something about your site. Title and text typography can be customized via options panel.


  • Custom Typography

    You can customize the typography in the theme to suit, and there is full support for Google Fonts in the font selector. By default it is using Lobster, Droid Sans and Droid Serif.


  • Custom Widgets

    The theme has 1 widgetized sidebar and up to 4 footer widgetized areas, and as always comes with custom Woo Widgets (Ad Space, Blog Author, Video/Embed, WooTabs, Subscribe & Connect, Search, Flickr and Twitter).

  • Alternative Styles

    Alternative Styles

    The theme includes a variation of alternative styles which you can preview in the demo, and also has styling options for background color/image and setting link and button color.

  • WooTumblog enabled

    WooTumblog Enabled

    Beveled has been made compatible with the WooTumblog plugin, so if you enable it, you’ll get all of the features listed below! It also works fine without the plugin.

Tumblog Functionality



  • Works like Tumblr

    Tumblr is an impressive & very popular platform and now you can replicate that functionality & awesomeness on your WordPress-powered tumblogging site.



  • Publish from your iPhone with Express App

    This theme support the Express App for iPhone, which lets you post images, notes, links and quotes while on the go!



  • Extensive Multimedia Support

    Posting a variety of multimedia elements (images, video, audio, quotes, notes & links) is super-easy to do and the theme handles all of the different “post types” auto-magically.


  • Advanced QuickPress

    Post to your tumblog from your dashboard, using the amazing new AJAX-powered & WooThemes-exclusive QuickPress functionality that is bundled with this theme.

Currents

21

by Magnus in Magazine / News, Responsive

Unique Features

  • Responsive Design

    Fully Responsive Design

    The design will scale to fit on all browser widths/resolutions and on all mobile devices. Go ahead and scale your browser window and see the results.

  • Featured post slider

    Featured Post Slider

    A custom homepage featured post slider to showcase your noteworthy news content, all powered by the fully responsive FlexSlider, which makes it usable on mobile devices.

  • Custom Homepage

    Custom News Areas

    Deliver your site content to visitors through the Recent News area on your homepage, Featured Category areas on homepage and archives, and Related News on your single post page.

  • Author Profiles

    Author Profiles

    We’ve put an extra effort in to make it easy to have multiple authors, with a custom author page template and custom author widget. In addition we added some extra social fields to each authors profile.

  • Focus on Headlines

    Focus on Headlines

    A key design aspect of the theme is to show only titles on posts so the focus is on post headlines. Post excerpts/content can easily be enabled in the theme options if you don’t believe in “less is more” philosophy.


  • Custom Typography

    You can customize the typography in the theme to suit, and there is full support for Google Fonts in the font selector. By default it is using Bitter Google font.


  • Custom Widgets

    The theme has 2 widgetized sidebar and up to 4 footer widgetized areas, and as always comes with custom Woo Widgets (Ad Space, Blog Author, Authors List, Video, WooTabs, Subscribe & Connect, Search, Flickr and Twitter).

  • Alternative Styles

    Alternative Styles

    The theme includes a variation of alternative styles which you can preview in the demo, and also has styling options for background color/image and setting link and button color.

Remove all rounded corners

0

by Magnus in Canvas

Some might not like the use of rounded corners, so the solution would be to go through style.css and find all CSS selectors that have border-radius set and then add it to custom.css. This was done on a user request and here are the selectors from style.css:

.nav li ul li a,
.nav a, .nav li.current_page_item, .nav li.current_page_parent, .nav li.current-menu-ancestor, .nav li.current-menu-item, .nav li.sfHover, .nav li.selected,
#top .nav li.sfHover a,
#top .nav li ul, #top .nav li ul li:last-child a,
.woo-pagination a:link, .woo-pagination a:visited, .woo-pagination a:active, .woo-pagination span.current,
.searchform,
.widget_woo_twitter .back,
#tabs,
#tabs ul.wooTabs li a.selected, #tabs ul.wooTabs li a:hover,
#comments .reply a,
.button, .button:visited, .reply a, #respond .form-submit input#submit,
#connect .newsletter-form .submit,
#portfolio #port-tags .port-cat a
{
   border-radius:0;-moz-border-radius:0;-webkit-border-radius:0;
}

Swatch

27

by Magnus in Business, Free, Portfolio

Unique Features

  • Featured slider

    Featured Slider

    A custom home page featured slider to showcase your work or products with style, all powered by jQuery. Optional slider pagination gives your visitors easy overview.

  • Custom Homepage

    Custom Homepage

    Custom home page layout with mini-features section and three widgetized areas to add custom widgets.


  • Portfolio Page Template

    Portfolio Page Template

    An optional integrated portfolio section driven by custom post types, which utilizies jQuery prettyPhoto script to display your work in a lightbox.


  • Custom Post Types

    Custom Post Types

    The theme takes full advantage of the new custom post types functionality than came with WordPress 3.0, so adding slides, mini-features and portfolio posts is dead easy!


  • Custom Typography

    You can customize the typography in the theme to suit, and there is full support for Google Fonts in the font selector.


  • Custom Widgets

    The theme has a widgetized sidebar, 3 widgetized areas on homepage and 0-4 footer widgetized areas, and as always comes with custom Woo Widgets that you can use in these spaces.

  • Alternative Styles

    Alternative Styles

    The theme includes alternative color styles which you can preview in the demo, and also has styling options for background color/image and setting link and button color.

Timthumb (thumb.php) Security Flaw

180

by Magnus in Development

This morning we were made aware of a security flaw within the Timthumb image resizing script, which is utilized in our themes for dynamic image resizing. It is also widely used in other WordPress themes and plugins.

As a result of this security flaw, the author of TimThumb and the author of WordThumb have worked together to release TimThumb v2 which fixes these security issues.

We’d highly recommend that you update your WooFramework like described below.

How to update your theme

Update TimThumb with WooFramework v4.4.2

You need to update to the latest version of the WooFramework (v4.4.2), as we have now moved thumb.php into the framework so it is easier to keep updated. There is also a new function in the framework which will remove your old TimThumb from the theme.

To update your Framework, simply go to your theme menu and select “Update Framework” (see our tutorial on the topic).

Please note that it is required that your site has the latest version of WordPress before you update the framework (minimum 3.2.1 and PHP 5.2.4).

Need further help?

We have created a dedicated forum for TimThumb issues in our support forum. Please make a new post in this forum and we’ll be along to assist you. View the new forum.

Add Adsense into a post

0

by Magnus in Canvas

In this tutorial we’ll add some Google Adsense into your single posts, and align them next to the post content.

Adsense code added to the right of the post

To add this, simply add this function in your themes functions.php:

<?php

// This will add the function to the woo_post_inside_before hook
add_action( 'woo_post_inside_before', 'add_single_adsense_code' );

// The function
function add_single_adsense_code() {

    // Only execute this if we are viewing a single post
    if ( is_single() ) {
?>
	<!-- You can also use 'alignleft' or 'aligncenter' -->
	<div class="alignright">

		<!-- Start Adsense code -->

		<script type="text/javascript"><!--
		google_ad_client = "pub-2151667935419035";
		/* 125x125, created 7/17/08 */
		google_ad_slot = "0794601937";
		google_ad_width = 125;
		google_ad_height = 125;
		//-->
		</script>
		<script type="text/javascript"
		src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
		</script>

		<!-- End Adsense code -->

	</div>
<?php
    } // ENDIF
} // END Function

?>

Add social shortcodes after single post content

0

by Magnus in Canvas

In this tutorial we will add some social shortcodes after the content on the single posts page.

Social shortcodes single post

Simply add this to your themes functions.php file

// This will add the function to the woo_post_inside_after hook
add_action( 'woo_post_inside_after', 'add_share_after_post' );

// The function
function add_share_after_post() {

	// Only execute this if we are viewing a single post
	if ( is_single() ) {

		// Add a linebreak shortcode
		echo do_shortcode('[hr]');

		// Add Facebook Share shortcode
		echo do_shortcode('[fbshare type="button_count"]');

		// Add Twitter shortcode
		echo do_shortcode('[twitter style="horizontal" source="desaindigital" related="desaindigital"]');

		// Add a linebreak to clear the floating elements above
		echo do_shortcode('[divider_flat]');; 

		// Add Facebook like shortcode
		echo do_shortcode('[fblike]');
	}

}
You can find all available social shortcodes in our WooCodex.

Canvas: How-To Tutorials

0

by Magnus in Tutorials

Statua

14

by Magnus in Multimedia

Unique Features

  • Custom Post Types

    Custom Post Type for Photos

    Statua takes full advantage of the new custom post type functionality than came with WordPress 3.0, so adding photos and galleries is dead easy!


  • Alternative Layouts

    Statua currently includes 3 alternative layouts which you can set as your homepage or use as a page template. Each layout has it’s own set of options in the options panel.


  • Photo Sliders

    Statua makes beautiful use of JavaScript sliders in the layouts to show of your photos. You can set the slider to fade or slide between photos, and also adjust speed etc. in the options panel.



  • Custom Typography

    You can customize the typography in the theme to suit, and there is full support for Google Fonts in the font selector.


  • Custom Widgets

    The theme has 1 sidebar and up to 4 footer widgetized areas, and as always comes with custom Woo Widgets (Ad Space, Blog Author, WooTabs, Subscribe, Feedback, Search, Embed/Video, Flickr and Twitter).

  • Alternative Styles

    Alternative Styles

    The theme includes 8 alternative color styles which you can preview in the demo, and also has styling options for background color/image and setting link and button color.

Briefed

16

by Magnus in Portfolio, Tumblog

Unique Features

  • Featured slider

    Featured Slider

    A custom home page featured slider to showcase your work with style, all powered by jQuery. Optional slider pagination gives your visitors easy overview. Posts can either be portfolio items or blog posts due to it being tag based.

  • Custom Homepage

    Custom Homepage

    A custom home page layout with about, slider, portfolio, and tumblog modules, all of which can be enabled or disabled in the theme options.

  • Portfolio Page Template

    Portfolio Page Template

    An optional integrated portfolio section on the home page, and a dedicated page template driven by custom post types, which utilizies jsMasonry to display your work, with a tag sorter.

  • Custom Post Types

    Custom Post Types

    The theme takes full advantage of the new custom post types functionality than came with WordPress 3.0, so adding portfolio posts is dead easy!




  • Custom Typography

    You can customize the typography in the theme to suit, and there is full support for Google Fonts in the font selector.



  • Custom Widgets

    The theme has a widgetized 1 sidebar (that you can even include on the home page) and 4 footer, and as always comes with 8 custom Woo Widgets (Ad Space, Blog Author, WooTabs, Subscribe, Feedback, Search, Flickr and Twitter).

  • Alternative Styles

    Alternative Styles

    The theme includes 9 alternative color styles which you can preview in the demo, and also has styling options for background color/image and setting link and button color.