-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathform-em_tickets.php
More file actions
50 lines (36 loc) · 1.1 KB
/
form-em_tickets.php
File metadata and controls
50 lines (36 loc) · 1.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<?php
/**
* change post type
*/
add_filter( 'acf/create_object/post/type', function() {
return 'em_tickets';
} );
if ( function_exists('acf_form_head') ) { acf_form_head(); }
get_header();
?>
<div id="sidebar_layout" class="clearfix">
<div class="sidebar_layout-inner">
<div class="row-fluid grid-protection">
<?php get_sidebar( 'left' ); ?>
<!-- CONTENT (start) -->
<div id="content" class="<?php echo themeblvd_get_column_class('content'); ?> clearfix" role="main">
<div class="inner">
<?php themeblvd_content_top(); ?>
<?php
if ( function_exists('acf_form') ) {
acf_form( array(
'post_id' => 'new_post',
'field_groups' => array('acf_post-title-content', 11)
) );
}
?>
<?php themeblvd_page_footer(); ?>
<?php themeblvd_content_bottom(); ?>
</div><!-- .inner (end) -->
</div><!-- #content (end) -->
<!-- CONTENT (end) -->
<?php get_sidebar( 'right' ); ?>
</div><!-- .grid-protection (end) -->
</div><!-- .sidebar_layout-inner (end) -->
</div><!-- .#sidebar_layout (end) -->
<?php get_footer(); ?>