Latest posts

Transfer WordPress Image Captions to HTML5

The html5 is a new web standard, more and more websites using html5 now. The default WordPress theme twentyeleven using html5, but some of the elements still don’t use the html5 code, just like the image and captions uploaded by the users. This article will help you convert the WordPress default image caption elements to html5 code.

How to add images with captions

Many of you might already be aware of how to do this, but let’s cover the basics for those WordPress users who don’t.

To add an image caption, you must first upload an image using the WordPress media uploader. Once you’ve uploaded an image, you should see an input box labeled “Caption,” which is where you’d add your image caption, as shown in the following screenshot.

wordpress image upload

WordPress image caption

To insert the image with a caption into your post, you’d simply click the “Insert into Post” button just like you would with any other image.

The default code of the html4 for each image will display like this:

<div id="attachment_xxx" class="wp-caption aligncenter" style="width: 310px">
    <a href="image.jpg">
        <img class="size-medium wp-image-xxx" height="80" width="300" alt="" src="thumbnail.jpg" title=" ..." />
    </a>
    <p class="wp-caption-text" > Here is the image caption</p>
</div>

If you use html5, the code should be

<figure id="attachment_xxx" class="wp-caption aligncenter" style="width: 310px">
    <a href="image.jpg">
        <img class="size-medium wp-image-xxx" height="80" width="300" alt="" src="thumbnail.jpg" title=" ..." />
    </a>
    <figcaption class="wp-caption-text">Here is the image caption</figcaption>
</figure>

How to transfer the default code to html5? Here it is: open the functions.php (you can find it in the theme folder), then copy and paste the following php code to the functions.php

add_filter('img_caption_shortcode', 'html5_img_caption_shortcode', 1, 3 );
function html5_img_caption_shortcode($string, $attr, $content = null) {
    extract(shortcode_atts(array(
        'id'    => '',
        'align' => 'alignnone',
        'width' => '',
        'caption' => ''
    ), $attr)
    );
    if ( 1 > (int) $width || empty($caption) )
        return $content;
 
    $width_style= ' style="width: ' . $width . 'px"';
    if ( $id ) $id = 'id="' . esc_attr($id) . '" ';
 
    return '<figure ' . $id . 'class="wp-caption ' . esc_attr($align) . '"' . $width_style . ' >' .
        do_shortcode( $content ) .
        '<figcaption class="wp-caption-text">' . $caption . '</figcaption>'.
        '</figure>';
}

That’s it, and it is easy to use.

WooThemes Review

A review of the woothemes.com, a premium WordPress theme provider

WooThemes are one of the largest retailors of premium WordPress themes online and have a massive selection of themes for you to choose from, ranging from simple ones all the way through to themes that are targeted towards a specific niche. In fact, they currently offer 144 different themes to all users and these have been downloaded a total of 126,164 times, meaning that they can obviously be trusted to deliver exactly what you need! This WooThemes review will show you just why we hold this site in such high esteem and why you should seriously consider them when looking for your next premium WordPress theme!

WooThemes Selection

woothemes review

woothemes

As already mentioned in the introduction, WooThemes has 144 different WordPress themes for you to choose from, which means that they are one of the largest sites on the internet for this purpose. Within these themes you can find themes relating to business, portfolios, blogs and even magazines, meaning that you will never fail to find at least one theme that piques your interest. As a hugely successful site, they are constantly adding new themes to their selection as well, so ensure that you regularly drop back in to see what else they have come up with.

WooThemes Features

In the opinion of this WooThemes review, there is nothing missing from the features that WooThemes offers with all of its different themes. Most contain a stylish slider that can display either images or video, and they all also have the ability to attach a blog to the theme, even if the theme is one aimed at businesses and not the individual blogger. WooThemes are particularly well-known for their ecommerce WordPress themes and the features found in these make it easy to both list and sell your products, whether you are a retailor or an affiliate. These themes will even allow you to easily conduct your admin and produce reports, meaning that they serve more than just one purpose.

In nearly all WooThemes WordPress themes, you will find the following features as standard:

• A solid back-end with a number of different options for customization, therefore meaning your site can be completely unique.
• All themes have a blog attached, which is almost essential nowadays for SEO purposes.
• At least one type of slider is included with every theme, although many have the choice between a number of different styles.
• All themes are easily integrated with additional widgets and plugins that you download from most sources.
• This WooThemes review also thinks that the overall design of the different WooThemes themes is as good, or if not better, than all of the other sites out there.

WooThemes Support

As they are a huge site, you would expect that the support provided by WooThemes is top notch, and in this assumption you would be correct. This WooThemes review thinks that the support provided by WooThemes is second to none, encompassing support over the phone, via email and through the different tutorial videos found on their site. They even offer pre-sales support, just in case you have an important question to ask before you plunge in and make a purchase.

WooThemes Pricing

Each of the WooThemes themes comes in at a price of $70, although if you are a developer you will need to pay $150 for the Developer Package. App themes are slightly more expensive than regular themes, and they cost between $100 and $200. If you regularly purchase WordPress themes then it is possible to join the WooTheme Club and get access to all of their themes for $125, plus a monthly payment of $15. They also guarantee two new themes per month to every member of their club. However, you can use woo themes’ discount coupon code to save.

WooThemes Conclusion

In conclusion, this WooThemes review thinks that it is virtually impossible to find a site that offers so many quality WordPress themes to those looking to build a new site. With competitive pricing and fantastic support, we can thoroughly stamp our mark of approval on WooThemes and we recommend that you visit them next time you are in the market for a new WordPress theme!

Download Woothemes

The Best Amazon & Commision Junction Affiliate WordPress Theme

Everyone want to get quality lower price products, that means a site that provide the service of price compare will be hot! If you are going to start a similar site like this, you can use the new theme named Price Compare, you can start a sleek price comparison site in no time!

With this cool theme, you can use Amazon and Commision Junction to stream thousands of products directly to your site, strategically built with widgetized homepage, loads of custom widgets and awesome SEO capabilities.

price compare wordpress theme

Home page of price compare wordpress theme


Demo / Download
Price Compare WordPress theme comes with built in support for Amazon and CJ (Commission Junction). Showcasing products from those sources is easy as inputting your unique information in theme back-end. But that’s not all! The theme allows you to create unlimited number of feeds using .csv files.

Don’t like the default homepage? Change it by yourself. This is a widgetized homepage theme, in order to make managing the homepage as easy as possible you will find a completely widgetized homepage in Price Compare. Adding and removing content is as simple as drag and drop. To make the deal even sweeter main content widget area allows you to create new tabs using widgets!

If you don’t like the default layout, you can change it, with endless skin variations, you can change the layout easily. Instead of preset skins Price Compare comes with extensive back-end design options that give that extra uniqueness to every Price Compare site. Changing the font, background, or link color is only a few clicks away! Cool right?

There is no need to create a dedicated blog. Creating a blog section in this new WordPress theme is a piece of cake. Products and blog posts are completely separate so you never need to worry about mixing the two together.

The shortcode is popular in premium WordPress themes, also you can find a lot useful and easy to use Shortcodes in this WordPress theme. To make editing the content even easier Price Compare comes with 30 unique shortcodes! You can use these shortcodes in blog posts, pages and even products! Using shortcodes is as simple as inputting the correct “code” inside the description window of your post, product or page.

Demo / Download

PremiumPress Themes Coupon Code June 2012

The summer is hot, but the big discount on premiumpress.com’s WordPress themes is cool! If you are going to buy any of premium wordpress theme on premiumpress.com, you can save big in June!
We have some latest new premiumpress discount coupon code for you. If you are going to buy any of their website layouts, you can save big with our latest new coupons.

Please note: all these coupons are valid from 1st June 2012 to 30st June 2012.

——————————————————–
Theme: ShopperPress discount coupon code

Coupon Code: SHOP40

Description: 40% discount off the original price
——————————————————–

——————————————————–
Theme: DirectoryPress discount coupon code

Coupon Code: DIRECTORYTHEME

Description: $25 discount off the original price
——————————————————–

——————————————————–
Theme: ClassifiedsTheme discount coupon code

Coupon Code: CLASSIFIEDSTHEME

Description: 30% discount off the original price
——————————————————–

——————————————————–
Theme: AgencyPress, ComparisonPress, RealtorPress, ResumePress, AuctionPress, CouponPress, EmployeePress, MoviePress discount coupon code

Coupon Code: JUNEPROMO

Description: %10 discount off the original price
——————————————————–

Subscribe our site and you can get the latest new discount coupon code.

Gorilla Themes Review?Review of Gorillathemes.com

A review of gorillathemes.com premium WordPress themes

Gorilla Themes

Gorilla Themes

The first thing that you are likely to think about when you stumble on to this site is “where did they get that name from?” Love it or loath it though, you will soon see that the site has a few very good themes for you to look through, even if some are a little bit on the niche side. In this Gorilla Themes review we’ll take a look at the different elements of this site and its themes, therefore meaning that you can come to a conclusion regarding whether you are going to check them out for yourself!

Gorilla Themes Selection

You’ll probably work out by the layout of the site that Gorilla Themes is not a large site, and this is reflected in the amount of themes that they currently have. That being said, the 20 themes on there are all of a good standard and will serve a purpose very well, should you decide that the design is right for you. As mentioned in the introduction to this Gorilla Themes review, some of the designs are for quite a niche audience, such as “The Vistas”, which is solely aimed at real estate companies, and “NightClubbing” which, as you can guess, is aimed at nightclubs. In fact, going back to real estate, nearly half the themes are dedicated to this industry!
Download Gorilla Themes

Gorilla Themes Features

Gorilla Themes really don’t have the variety of features offered by some of the other WordPress sites, but they still have a few that are definitely worth mentioning in this Gorilla Themes review. These are:

  • All themes feature Gorilla Press’ very own 3 minute installation, meaning that you can install the themes in no time and begin posting!
  • Most themes have the option of a stylish and well-designed slider, which can be placed near to the top of the page.
  • Twitter and Facebook widgets can easily be added to the site, simply by inputting your IDs for these services into the relevant fields.
  • When adding videos, they will generally automatically be resized in order to fit the area that you have posted them to.
  •  Banner management is included in themes, meaning that you can easily start making money from services like Google AdSense.

Gorilla Themes Support

The support that is provided by Gorilla Themes is up there with the best of them, as they have a forum for posting those burning questions in, as well as the option to email them too. They also provide comprehensive documentation for all of the themes that they produce, which will answer the most common problems. If you want more advanced help, such as help customizing a theme, the Gorilla Themes offer professional services at a small price to complete these. They’ll even install the theme and getting running for you for just $99!

Gorilla Themes Pricing

On Gorilla Themes, you pay for every theme that you download, unlike some sites where you have to sign up to a membership plan or pay a lump sum to get all of the themes. There are three prices for every single theme, coming in at $39.95, $69.95 and $99.95. While there are some minor differences – such as increased support for the two more expensive options – this Gorilla Themes review really can’t see enough to justify the price differences. Obviously the final decision is yours, as you might feel that you need to spend that little bit more for increased support. (more…)