Up to 50 percent off

Forum Replies Created

Viewing 4 Topics - 1 through 4 (of 4 total)
Author Posts
May 11, 2013 at 4:12 pm in reply to: Taxonomy Passing Along Additional Data 3516
tripod0502 tripod0502

I hate to sound ignorant…but, would “Ultimate Taxonomy Manager” (http://taxonomymanager.wordpress.com/) work the same way as Taxonomy Metadata?

I’ve used it to create two custom taxonomy fields named “gpslatitude” and “gpslongitude”

May 11, 2013 at 3:54 pm in reply to: Taxonomy Passing Along Additional Data 3515
tripod0502 tripod0502

Tareq,

Thanks for the fast response! I don’t know how you do it…but, you are the man. You may remember dealing with another user in regards to the AIT Directory theme…where you gave us the code below…

[php]
function wpufe_ait_integration( $post_id ) {

$def_lat = $def_long = 0;

if ( isset( $_POST[‘location’] ) ) {
list( $def_lat, $def_long ) = explode( ‘,’, $_POST[‘location’] );
}

$ait_dir_item = array (
‘address’ => isset( $_POST[‘address’] ) ? $_POST[‘address’] : ”,
‘gpsLatitude’ => $def_lat,
‘gpsLongitude’ => $def_long,
‘streetViewLatitude’ => ”,
‘streetViewLongitude’ => ”,
‘streetViewHeading’ => ‘0’,
‘streetViewPitch’ => ‘0’,
‘streetViewZoom’ => ‘0’,
‘telephone’ => isset( $_POST[‘telephone’] ) ? $_POST[‘telephone’] : ”,
’email’ => isset( $_POST[’email’] ) ? $_POST[’email’] : ”,
‘web’ => isset( $_POST[‘web’] ) ? $_POST[‘web’] : ”,
‘hoursMonday’ => isset( $_POST[‘hours_monday’] ) ? $_POST[‘hours_monday’] : ”,
‘hoursTuesday’ => isset( $_POST[‘hours_tuesday’] ) ? $_POST[‘hours_tuesday’] : ”,
‘hoursWednesday’ => isset( $_POST[‘hours_wednesday’] ) ? $_POST[‘hours_wednesday’] : ”,
‘hoursThursday’ => isset( $_POST[‘hoursThursday’] ) ? $_POST[‘hoursThursday’] : ”,
‘hoursFriday’ => isset( $_POST[‘hoursFriday’] ) ? $_POST[‘hoursFriday’] : ”,
‘hoursSaturday’ => isset( $_POST[‘hoursSaturday’] ) ? $_POST[‘hoursSaturday’] : ”,
‘hoursSunday’ => isset( $_POST[‘hoursSunday’] ) ? $_POST[‘hoursSunday’] : ”,
‘alternativeContent’ => isset( $_POST[‘alternativeContent’] ) ? $_POST[‘alternativeContent’] : ”,
);

update_post_meta( $post_id, ‘_ait-dir-item’, $ait_dir_item );
}

add_action( ‘wpuf_add_post_after_insert’, ‘wpufe_ait_integration’ );
add_action( ‘wpuf_edit_post_after_update’, ‘wpufe_ait_integration’ );

[/php]

But, instead of geocoding the address given in the form, I’m looking to use the latitude and longitude from the meta of the “location” taxonomy…so that users can only choose specified locations, which will be show themselves on the theme’s integrated Google map.

May 11, 2013 at 3:41 pm in reply to: Range Slider Input 3514
tripod0502 tripod0502

No sweat…I’ll see if I can tie it in somehow 😉

April 19, 2013 at 6:47 pm in reply to: WP User Frontend Error: Pleae activate your copy 2562
tripod0502 tripod0502

Tareq,

I’m having the same problem after reinstalling on a new WP installation on the same original URL…globaleventnetwork.com. Could you please “reset” my license? Also, does the license allow us to use on a subdomain (during development)? Thanks!

Viewing 4 Topics - 1 through 4 (of 4 total)