From IThemes Codex
Revision as of 11:04, March 20, 2013 by Sridhar (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


Demo Site

Noise Live Demo


Noise is a responsive-ready Builder child theme designed to be used in conjunction with a plugin for iThemes Builder, Builder Audio Block.

Designed with musicians and bands in mind, Builder now makes it easy to create a WordPress band website with a "built-in" audio player, a way to display albums or discographies, a list of upcoming shows and support for music downloads/purchases with Easy Digital Downloads.

Announcement Blog Post


EmbedVideo was given an illegal value for the alignment parameter "none". Valid values are "left", "center", or "right".


How to Assign a Layout to Audio Archive page

By default, Audio archive page, will use Full Width layout. This comes from the Archives view at My Theme -> Layouts & Views -> Views. This View can be edited and another layout selected which will work for all archive pages including the Audio archive page.

However if you wish to apply a layout just to the Audio archive page, follow this.

Add this code at the end of child theme's functions.php:

function custom_filter_audio_layout( $layout_id ) {
    if ( is_post_type_archive('it_bb_audio') )
            return '4f30b1482cde8';
    return $layout_id;
add_filter( 'builder_filter_current_layout', 'custom_filter_audio_layout' );

In the above, change "4f30b1482cde8" to the ID of layout that you wish to assign to Audio archive page.

To find the ID for a Layout, go to the Layouts listing, copy the edit link for the desired Layout, paste the link somewhere, and grab the text after the last equal sign. For example, consider the following link:

The Layout's ID for the above is 4f30b1482cde8.

How to Assign a Layout to Every Single Entry page of Audio CPT

Method 1

Use Post Type - Audio View at My Theme -> Layouts & Views -> Views to assign a layout to every single Audio entry page.

Method 2

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

function custom_filter_audio_single_layout( $layout_id ) {
    if ( is_singular('it_bb_audio') )
            return '513f60026cf01';

    return $layout_id;
add_filter( 'builder_filter_current_layout', 'custom_filter_audio_single_layout' );

In the above, change "513f60026cf01" to the ID of layout that you wish to assign to single Audio pages.

Personal tools
iThemes Codex
Codex Navigation