How to make Google map responsive when using Events Manager

With Events Manager plugin active, Google map on single event page will appear cut off with the default settings like so:

MSG Office Closed -- WordPress Dev Site

With a couple of changes in the plugin’s settings we can fix this like so:

MSG Office Closed -- WordPress Dev Site

Here’s how:
Read More →

How to implement “Equal Height Blocks in Rows” jQuery in WordPress

In one of the website projects I am currently working on, client is using Easy Digital Downloads plugin which outputs list of products in a grid with 3 blocks per row. The problem is that each block has a different height due to the amount of content in it.

Screenshot:

All Tutorials -- Balloon Academy

I wanted to find a way to calculate the height of tallest block in each row and set the height of every block in a row to that. A quick google search landed me on this article on css-tricks.

Here’s how jQuery code given in the above article can be incorporated in a WordPress site.

But first, a screenshot of the result: Read More →

How to Incorporate Any List Scroller in WordPress

ALS – Any List Scroller is the jQuery plugin to scroll any list, of any dimension, with any content.

Live Demo:

prev

  • orangeorange
  • appleapple
  • bananabanana
  • blueberryblueberry
  • watermelonwatermelon
  • cherrycherry
  • strawberrystrawberry
  • avocadoavocado
  • pearpear
  • pineapplepineapple
  • papayapapaya
  • raspberryraspberry

next

It is straight forward to get this working in WordPress. In this article, I am going to use my favorite theme, iThemes Builder (tested the following code in Default child theme).

Follow the steps below to get this working in your WordPress site:

This content is for Basic (free), Silver, Gold and Platinum members only. Please login to view this content or if you do not have an account, register here.

How to assign a layout to any MarketPress page in Builder

If you are using MarketPress e-commerce WordPress plugin by WPMU DEV in your site, you might have noticed that all plugin generated virtual pages like http://yoursite.com/store/products/ and single product pages use the Default layout. We can use builder_filter_current_layout filter to apply a specific layout to these MarketPress pages.

Add the following in child theme’s functions.php:

// ===============================================================
// = To apply a layout to any MarketPress generated virtual page =
// ===============================================================

function custom_filter_mp_shop_page_layout( $layout_id ) {
    if ( mp_is_shop_page() )
            return '5113bf00b974b';

    return $layout_id;
}
add_filter( 'builder_filter_current_layout', 'custom_filter_mp_shop_page_layout' );

where 5113bf00b974b is the ID of layout that you wish to apply to MarketPress pages.

If you wish to apply a layout to single product pages, if ( is_singular(‘product’) ) can be used.

How to set up and use custom.css

Just published this here: http://ithemes.com/2013/05/09/how-to-set-up-and-use-custom-css-in-ithemes-builder/

How to Apply an Extension to a CPT Archive page

Just added this here: http://ithemes.com/2013/05/03/how-to-apply-an-extension-to-a-cpt-archive-page-in-ithemes-builder/

How to Replace Standard Comment Form with Jetpack Comments

Screen Shot 2013-04-25 at 10.28.28 PM

Just posted this here: http://ithemes.com/2013/05/03/how-to-replace-standard-comment-form-with-jetpacks-in-ithemes-builder/

How to See Widget Areas of a Specific Layout

Just added this here: http://ithemes.com/2013/05/03/ithemes-builder-tip-see-widget-areas-of-a-specific-layout/

How to Change the Appearance of Search in Air

Before:

Screen Shot 2013-05-03 at 6.08.47 PM

After:

Screen Shot 2013-05-03 at 6.10.57 PM

Just posted this here: http://ithemes.com/2013/05/03/how-to-change-the-appearance-of-search-in-ithemes-builder-air-child-theme/

Easy Accordion jQuery plugin in iThemes Builder

Just added this to Codex.

Click on the image below or here to go to the wiki article.

Easy Accordion Test Page - WordPress Dev Site 2013-04-30 13-03-49