ascheripartners
Forum Replies Created
-
Done, thanks.
Forum: Plugins
In reply to: [WP Store Locator] Hide the by-line in store pagesZenko Magazine
Forum: Plugins
In reply to: [WP Store Locator] Hide the by-line in store pagesI just pasted the following block in the code I got from single.php, but then commented two lines to not show things twice:
<?php global $post; $queried_object = get_queried_object(); // Add the map shortcode // echo do_shortcode( '[wpsl_map]' ); // Add the content $post = get_post( $queried_object->ID ); setup_postdata( $post ); the_content(); wp_reset_postdata( $post ); // Add the address shortcode //echo do_shortcode( '[wpsl_address]' ); ?>
Forum: Plugins
In reply to: [WP Store Locator] Hide the by-line in store pagesThank you. I’m not sure if I did something wrong, but that code was showing the map and the address twice. I commented a couple of lines and it’s ok.
Forum: Plugins
In reply to: [WP Store Locator] Map not showing any store/result..Hello Tijmen,
yesterday I had the issue watched into by our internal developer. she found out that some lines of code about “if WPML exist then (something)” where giving the error. she commented the lines and the plugin worked.
it seems like the plugin was trying to find translations of the store pages, but couldn’t find them?
I didn’t have the main WPML plugin active for that site, but I realized a couple of plugins extensions for WPML were active. I deactivated them.
please note that I’m on a WP multisite network and some plugins are network activated while others are active only for single sites, but still “exist” in the network (that could create issues? if I have WPML installed but I don’t have it active therefore I don’t translate the pages – also, an user may not want to translate all the pages).
while doing that we also get rid of some errors in our htaccess config limiting ajax (but that was not the issue anyway)
I hope this helps! I didn’t have time to write this yesterday.
thanks
Fabio
Forum: Plugins
In reply to: [WP Store Locator] Map not showing any store/result..Thanks a lot. Actually I setted the start location as London, UK in the plugin settings page. When I load the page, map automatically centers on London and starts searching with a 50 miles radius. When I set a bigger radius (up to 5000 km) it still doesn’t find anything, no matter if I change the search location (and I put it to match the city of one of the store locations address)
I don’t see the error you wrote me. How and where do you see it?