gravityforms chart
gravityforms chart
gravityforms chart
gravity form merge multiple records with the same id
How to download CSV from sub directory in uploads folder
Gravity Forms data to SOAP Service says Could not connect to host
Like usual. 🙂 Works most of the time unless it ends up in some place that is not echoed to the screen by browser. echo $email_to; And for debug it is more informational to use var_dump(). Personally I usually use this to quickly add/remove dump to filter: add_filter(‘filter’,’dump_filter’,10, 1); // 1, or how many arguments … Read more
You can use this to identify the attachments in a post: $args = array( ‘post_type’ => ‘attachment’, ‘post_parent’ => $post->ID ); $images = get_posts($args); foreach($images as $image){ echo wp_get_attachment_image($image->ID, ‘size’) }
Why use gravity post if you just want to do post add/insert + post_meta (assume on front-end), we can do it as long as we give a registered user certain capabilities. We can achieved this by creating custom role for user to add to specific custom post type, . For email notification you can use … Read more
With some help, I have managed to modify the code so that Gravity Forms now picks up the Custom Fields. As the original code is for a serialized array of field information and I don’t believe Gravity Forms can utilize this original code so here is the new code for individual row creation for each … Read more
Not sure if you really need to use the custom admin boxes, unless you need to customize labels, etc… <?php function my_connection_types() { // Make sure the Posts 2 Posts plugin is active. if ( !function_exists( ‘p2p_register_connection_type’ ) ) return; p2p_register_connection_type( array( ‘name’ => ‘cpt1_to_cpt2’, ‘from’ => ‘cpt1’, ‘to’ => ‘cpt2’, ‘admin_box’ => ‘from’, ‘fields’ … Read more
As per the Plugin FAQ use, wp_loginout($_SERVER[‘REQUEST_URI’]); Sorry that’s entirely incorrect, that function prints out the login/out url which you do not need/want for the purpose of using within a filter, instead use, wp_redirect( $_SERVER[‘REQUEST_URI’] ); …to return the user to the page they were on. If that does not allow you to preserve the … Read more