Builder Events Block

(Difference between revisions)
Jump to: navigation, search
(Created page with "== Introduction == '''Coming Soon: New Builder Events Block ''' Need an easy way to do event registrations with WordPress? We're working on a Builder Events Block with Eventb...")
 
m
(3 intermediate revisions by one user not shown)
Line 1: Line 1:
 
== Introduction ==
 
== Introduction ==
  
'''Coming Soon: New Builder Events Block
+
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.
'''
+
Need an easy way to do event registrations with WordPress? We're working on a Builder Events Block with Eventbrite and Gravity Forms integration to do just that. Builder's Events Block will make 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 will make your event website the easy part.
+
  
This plugin will work with any Builder child theme.
+
This plugin works with any Builder child theme.
  
Note: It will not work in a non Builder theme.
+
Note: It does not work in a non Builder theme.
  
[http://ithemes.com/2012/03/29/coming-soon-new-builder-events-block/ Blog post]
+
* [http://demos.ithemes.com/events-block/ Events Block Demo Page]
 +
* [http://ithemes.com/2012/05/01/just-released-builder-events-block/ Events Block release blog post]
 +
* [http://ithemes.com/2012/03/29/coming-soon-new-builder-events-block/ Coming soon blog post]
 +
* [http://ithemes.com/2012/04/11/sneak-peek-new-builder-events-block/ Sneak Peak (screenshots)]
 +
 
 +
== 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:
 +
 
 +
<pre class="brush: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' );
 +
</pre>
 +
 
 +
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:
 +
 
 +
<pre>http://example.com/wp-admin/admin.php?page=layout-editor&editor_tab=layouts&layout=4e57b7c528e6e</pre>
 +
 
 +
The Layout's ID for the above is 4e57b7c528e6e.
 +
 
 +
== Item 2 ==
 +
 
 +
== Item 3 ==
 +
 
 +
== Item 4 ==

Revision as of 23:33, May 13, 2012

Contents

Introduction

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:

http://example.com/wp-admin/admin.php?page=layout-editor&editor_tab=layouts&layout=4e57b7c528e6e

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

Item 2

Item 3

Item 4

Personal tools
Namespaces
Variants
Actions
iThemes Codex
Codex Navigation
Toolbox