Builder Events Block

From IThemes Codex
Revision as of 23:32, May 13, 2012 by Sridhar (Talk | contribs)
Jump to: navigation, search


Need an easy way to do event registrations with WordPress? Our Builder Events Block with Eventbrite and Gravity Forms integration will do just that. Builder's Events Block makes it easy to get your event website up quickly by providing styling for several key event details such as location, date, time and attendee registration. In the midst of event planning, Builders Events Block makes your event website the easy part.

This plugin works with any Builder child theme.

Note: It does not work in a non Builder theme.

How to assign a layout to Events listing page

Add this code at the end of active theme's (child theme of Builder) functions.php:

function custom_filter_events_layout( $layout_id ) {
    if ( is_post_type_archive('it_bb_event') )
            return '4e57b7c528e6e';
    return $layout_id;
add_filter( 'builder_filter_current_layout', 'custom_filter_events_layout' );

In the above, change "4e57b7c528e6e" to the ID of layout that you wish to assign to Events 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 4e57b7c528e6e.

Personal tools
iThemes Codex
Codex Navigation