toimisto
Forum Replies Created
-
Ok so apparently leaving “Extensions of Files to Track as Downloads” from the settings blank caused this issue
Forum: Plugins
In reply to: [Polylang] WPML strings to PolylangI tried alternative way by adding this to functions and disabling the plugin but cant see this in the strings admin menu.
<?php add_action(‘init’, function() {
pll_register_string(‘client-search’, ‘Search’);
});
?>Losing my mind here. Please help. Going back to wpml soon.
Forum: Plugins
In reply to: [WooCommerce Ajax Cart Plugin] Change quantity to 0That was FAST thank you
Forum: Plugins
In reply to: [EU Cookie Law for GDPR/CCPA] Accept not workingI give up. It seems that the plugin loads css to the footer and is somehow messing up jquery stuff so the button does not work.
Any recommendations for others? GDPR Cookie Consent seemed smooth but didnt work with wpml string translations…
Forum: Plugins
In reply to: [WP Store Locator] [wpsl_map] zoom brokenThank you!
Forum: Fixing WordPress
In reply to: Template dropdown is gone@leadsoft hey thanks it was actually issue in style.css (defined as parent theme) so clearing that up fixed the issue.
Forum: Fixing WordPress
In reply to: Template dropdown is goneUgh its a live high traffic site but we’ll give it a try later on thanks
Forum: Plugins
In reply to: [WP Store Locator] The Google Geocoding API returned REQUEST_DENIED+1 same here this error pops up when saving locations
Forum: Plugins
In reply to: [WP Cloudy] Disable night iconsOr actually the server time seems off but we cant change that…
Forum: Plugins
In reply to: [WP Store Locator] HELP! Markers gone after updateOk it works if I return the normal pin. My custom pin shows in admin normally but if I activate it, none is shown in the frontend. Here’s my functions.php code:
add_filter( ‘wpsl_admin_marker_dir’, ‘custom_admin_marker_dir’ );
function custom_admin_marker_dir() {
$admin_marker_dir = get_stylesheet_directory() . ‘/wpsl-markers/’;
return $admin_marker_dir;
}define( ‘WPSL_MARKER_URI’, dirname( get_bloginfo( ‘stylesheet_url’) ) . ‘/wpsl-markers/’ );
add_filter( ‘wpsl_marker_props’, ‘custom_marker_props’ );
function custom_marker_props() {
$marker_props = array(
‘scaledSize’ => ‘48,48’,
‘origin’ => ‘0,0’,
‘anchor’ => ‘12,35’
);return $marker_props;
}Forum: Plugins
In reply to: [Campaign Monitor for WordPress] How do I change the signup success message?Same here. Is there a way to localise or even just change this:
“Your subscription has been confirmed.
You’ll hear from us soon.”?
Forum: Plugins
In reply to: [WP Store Locator] wpml clusters bugNo idea how to avoid this? Anyone else have the same problem? My single location is becoming triple atm because the translations
Forum: Plugins
In reply to: [WP Store Locator] Optional opening hoursThanks for your reply. I have them in marker info boxes through functions.php
function custom_info_window_template() { global $wpsl; $info_window_template = '<div data-store-id="<%= id %>" class="wpsl-info-window">' . "\r\n"; $info_window_template .= "\t\t" . '<p>' . "\r\n"; $info_window_template .= "\t\t\t" . wpsl_store_header_template() . "\r\n"; // Check which header format we use $info_window_template .= "\t\t\t" . '<span><%= address %></span>' . "\r\n"; $info_window_template .= "\t\t\t" . '<% if ( address2 ) { %>' . "\r\n"; $info_window_template .= "\t\t\t" . '<span><%= address2 %></span>' . "\r\n"; $info_window_template .= "\t\t\t" . '<% } %>' . "\r\n"; $info_window_template .= "\t\t\t" . '<span>' . wpsl_address_format_placeholders() . '</span>' . "\r\n"; // Use the correct address format $info_window_template .= "\t\t" . '</p>' . "\r\n"; $info_window_template .= "\t\t" . '<% if ( phone ) { %>' . "\r\n"; $info_window_template .= "\t\t" . '<span><strong>' . esc_html( $wpsl->i18n->get_translation( 'phone_label', __( 'Phone', 'wpsl' ) ) ) . '</strong>: <%= formatPhoneNumber( phone ) %></span>' . "\r\n"; $info_window_template .= "\t\t" . '<% } %>' . "\r\n"; $info_window_template .= "\t\t" . '<% if ( wifi ) { %>' . "\r\n"; $info_window_template .= "\t\t" . '<span><strong>Wifi</strong>: <%= wifi %></span>' . "\r\n"; $info_window_template .= "\t\t" . '<% } %>' . "\r\n"; $info_window_template .= "\t\t" . '<% if ( dogs ) { %>' . "\r\n"; $info_window_template .= "\t\t" . '<span><strong>Dogs</strong>: <%= dogs %></span>' . "\r\n"; $info_window_template .= "\t\t" . '<% } %>' . "\r\n"; $info_window_template .= "\t\t" . '<% if ( email ) { %>' . "\r\n"; $info_window_template .= "\t\t" . '<span><strong>' . esc_html( $wpsl->i18n->get_translation( 'email_label', __( 'Email', 'wpsl' ) ) ) . '</strong>: <%= email %></span>' . "\r\n"; $info_window_template .= "\t\t" . '<% } %>' . "\r\n"; $info_window_template .= "\t\t" . '<% if ( hideopening ) { %>' . "\r\n"; $info_window_template .= "\t\t" . '<div class="hideopening">' . "\r\n"; $info_window_template .= "\t\t" . '<% } %>' . "\r\n"; $info_window_template .= "\t\t" . '<% if ( hours ) { %>' . "\r\n"; $info_window_template .= "\t\t" . '<div class="wpsl-store-hours"><strong>' . esc_html( $wpsl->i18n->get_translation( 'hours_label', __( 'Hours', 'wpsl' ) ) ) . '</strong>' . "\r\n"; $info_window_template .= "\t\t" . '<%= hours %>' . "\r\n"; $info_window_template .= "\t\t" . '</div>' . "\r\n"; $info_window_template .= "\t\t" . '<% } %>' . "\r\n"; $info_window_template .= "\t\t" . '<% if ( hideopening ) { %>' . "\r\n"; $info_window_template .= "\t\t" . '</div>' . "\r\n"; $info_window_template .= "\t\t" . '<% } %>' . "\r\n"; $info_window_template .= "\t\t" . '<%= createInfoWindowActions( id ) %>' . "\r\n"; $info_window_template .= "\t" . '</div>'; return $info_window_template; }
Forum: Plugins
In reply to: [WP Store Locator] category templateok so taxonomy-wpsl_store_category.php
<?php $term = get_term_by( 'slug', get_query_var( 'term' ), get_query_var( 'taxonomy' ) ); if ( !empty( $term ) ){ echo do_shortcode('[wpsl category="' . $term->slug .'" start_location="' . $term->slug .'"]'); } ?>
Forum: Plugins
In reply to: [WP Store Locator] oops something went wrong on localhostIm getting the missingkeymap error only on wp-admin thus im not able to setup the location since the input is just showing google error there. But I realised I can override it with the shortcode tag so it’s all good. Thanks for your support and fantastic plugin!