A. Sandoval
Forum Replies Created
-
this is how its working for me
add_action('save_post', 'save_tec_event_meta_from_gravity', 11, 2); function save_tec_event_meta_from_gravity($postId, $post) { if( class_exists('TribeEvents') ) { // only continue if it's an event post if ( $post->post_type != TribeEvents::POSTTYPE || defined('DOING_AJAX') ) { return; } // don't do anything on autosave or auto-draft either or massupdates if ( wp_is_post_autosave( $postId ) || $post->post_status == 'auto-draft' || isset($_GET['bulk_edit']) || $_REQUEST['action'] == 'inline-save' ) { return; } if( class_exists('TribeEventsAPI') ) { $_POST['Organizer'] = stripslashes_deep($_POST['organizer']); $_POST['Venue'] = stripslashes_deep($_POST['venue']); if( !empty($_POST['Venue']['VenueID']) ) $_POST['Venue'] = array('VenueID' => $_POST['Venue']['VenueID']); if( !empty($_POST['Organizer']['OrganizerID']) ) $_POST['Organizer'] = array('OrganizerID' => $_POST['Organizer']['OrganizerID']); TribeEventsAPI::saveEventMeta($postId, $_POST, $post); } } }I even asked already look http://www.gravityhelp.com/forums/topic/taxonomy-drop-down-or-single-line-text
and made a vid http://www.screenr.com/FPg8
yea we need this too its been 2 months. dont think it will get updated anymore man the developer has moved on to another project. Ill let you know if anything comes up though but for now its like this 🙁
Same here. Having many problems. Still waiting for an update for months so for now our form pages are on pause.
Need help with this too, tried other plugin that “fix this” but they dont work.
Will be more than happy to donate + buy a second business license. This plugin is very important. Also, the team will contribute with beta / future testing + support forums etc
Forum: Themes and Templates
In reply to: WordPress 3.4 broke my paginaton setupthen just add
$query->set( ‘post_type’, array( ‘CUSTOM POST TYPE HERE’ , ‘tag’, ‘category’ ) );Forum: Themes and Templates
In reply to: WordPress 3.4 broke my paginaton setupfixed by adding this to functions.php
just change “CUSTOM POST TYPE HERE” with your post type. example: post, events, or gallery
function my_query_for_homepage( $query ) {
if( $query->is_main_query() && $query->is_home() ) {
$query->set( ‘post_type’, array( ‘CUSTOM POST TYPE HERE’ ) );
}
}
add_action( ‘pre_get_posts’, ‘my_query_for_homepage’ );fixed by adding this to functions.php
just change “CUSTOM POST TYPE HERE” with your post type. example: post, events, or gallery
function my_query_for_homepage( $query ) {
if( $query->is_main_query() && $query->is_home() ) {
$query->set( ‘post_type’, array( ‘CUSTOM POST TYPE HERE’ ) );
}
}
add_action( ‘pre_get_posts’, ‘my_query_for_homepage’ );why delete our posts anyway? we do have gravity licenses
Me too….
Forum: Themes and Templates
In reply to: WordPress 3.4 broke my paginaton setupThe solution above didnt work for me. Page 2 works fine, not 3 4 5 etc
They dont seem to update the plugin, having problems too
Still no update… New Custom Post Types Gravity Form update coming soon though, maybe it comes with this feature
Thanks Kevin. This plugin is great by the way. We’ll keep it and test it. Thanks for the vid!