Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter klein09

    (@klein09)

    add_filter( ‘wcfm_google_map_api_url’, function( $api_url, $api_key ) {
    $api_url = ‘https://maps.googleapis.com/maps/api/staticmap?key=MY API KEY&center=47.65,-122.35&zoom=12&format=png&maptype=roadmap&style=feature:poi%7Celement:labels.text.fill%7Ccolor:0x747474%7Clightness:23&style=feature:poi.attraction%7Celement:geometry.fill%7Ccolor:0xf38eb0&style=feature:poi.government%7Celement:geometry.fill%7Ccolor:0xced7db&style=feature:poi.medical%7Celement:geometry.fill%7Ccolor:0xffa5a8&style=feature:poi.park%7Celement:geometry.fill%7Ccolor:0xc7e5c8&style=feature:poi.place_of_worship%7Celement:geometry.fill%7Ccolor:0xd6cbc7&style=feature:poi.school%7Celement:geometry.fill%7Ccolor:0xc4c9e8&style=feature:poi.sports_complex%7Celement:geometry.fill%7Ccolor:0xb1eaf1&style=feature:road%7Celement:geometry%7Clightness:100&style=feature:road%7Celement:labels%7Clightness:100%7Cvisibility:off&style=feature:road.arterial%7Celement:geometry.fill%7Ccolor:0xffe9d2&style=feature:road.highway%7Celement:geometry.fill%7Ccolor:0xffd4a5&style=feature:road.local%7Cvisibility:simplified&style=feature:road.local%7Celement:geometry.fill%7Cweight:3.00&style=feature:road.local%7Celement:geometry.stroke%7Cweight:0.30&style=feature:road.local%7Celement:labels.text%7Cvisibility:on&style=feature:road.local%7Celement:labels.text.fill%7Ccolor:0x747474%7Clightness:36&style=feature:road.local%7Celement:labels.text.stroke%7Ccolor:0xe9e5dc%7Clightness:30&style=feature:transit.line%7Celement:geometry%7Clightness:100%7Cvisibility:on&style=feature:water%7Ccolor:0xd2e7f7&size=480×360’;
    return $api_url;
    }, 50, 2 );

    Hey this seems to make the map stop working, any idea? Thanks

    Thread Starter klein09

    (@klein09)

    Thanks for the help 🙂 I’ll try that.

    Thread Starter klein09

    (@klein09)

    The texbox in the registration form 🙂 I’d like to add placeholders, I was able to do it but it is not working in some fields.

    add_filter(‘wcfm_membership_registration_fields’,’wcfm_membership_registration_fields_callback’);
    function wcfm_membership_registration_fields_callback($registration_fields) {

    $registration_fields[‘first_name’][‘placeholder’] = “First Name”;
    $registration_fields[‘user_email’][‘placeholder’] = “Email Address”;
    $registration_fields[‘last_name’][‘placeholder’] = “Last Name”;
    $registration_fields[‘passoword’][‘placeholder’] = “Password”;
    $registration_fields[‘store_name’][‘placeholder’] = “Business Name”;
    return $registration_fields;
    }

    It is not working in email, city, state… etc 🙂 Thank you.

    Thread Starter klein09

    (@klein09)

    I would like to customize the info that is listed in the store list result, by any chance can you make the product filters available? I see you make customizations 🙂

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