avtor
Forum Replies Created
-
Forum: Plugins
In reply to: [Polylang] 404 home pageI decided to make special category for all English posts and use special rules in the .htaccess:
RewriteCond %{HTTP_HOST} ^en\.soundaround\.me$ [NC] RewriteRule ^$ /category/en/ [R=301,L]
Forum: Plugins
In reply to: [Polylang] 404 home pageChouby, thank you! With Twenty Sixteen it is working good.
I will ask support team of my theme.Forum: Plugins
In reply to: [Geo Mashup] infowindow doesn't worksinteresting… because I have another result.
ok. SorryForum: Plugins
In reply to: [Geo Mashup] infowindow doesn't worksIf I clicking on markers I just see loading image. And nothing more.
You can see screenshot: https://www.awesomescreenshot.com/image/280924/82afcf62e742f049d590ab170910ce76Forum: Plugins
In reply to: [Geo Mashup] infowindow doesn't worksThe map is the globalmap on the main page: https://soundaround.me
Forum: Plugins
In reply to: [Geo Mashup] After last update plugin doesn't workI understand, that disabling “Use readfile()” is not desire of a problem.
Yes, problem in plugin “hyper cache”. Only “Cleaning all cache” helps me or deactivating plugin. Cleaning helps only once.
Forum: Plugins
In reply to: [Geo Mashup] After last update plugin doesn't workresolved
Forum: Plugins
In reply to: [Geo Mashup] After last update plugin doesn't workNow I know that conflict with plugin “Hyper Cache”.
I just made disable “Use readfile()” and maps start working again.Forum: Plugins
In reply to: [Geo Mashup] After last update plugin doesn't workOoooo! It is interesting! Do you know how to cut this parameter? Because I don’t use it in my code.
<?php echo GeoMashup::map('map_content=global&height=400&width=992&zoom=2¢er_lat=9¢er_lng=151&load_kml=https://domain.com/wp-content/uploads/2015/01/map.kml'); ?>
Forum: Plugins
In reply to: [Geo Mashup] After last update plugin doesn't workYes, I can: https://soundaround.me/en on block “THE WAY AROUND THE WORLD”
Forum: Plugins
In reply to: [Polylang] Date of new translated listingsThank you!!! I had same problem about 1 year )))
Forum: Plugins
In reply to: [Rating-Widget: Star Review System] Wrong thumb picturesThank you. We will wait…
Forum: Plugins
In reply to: [Rating-Widget: Star Review System] Wrong thumb picturesI mean about Thumbnails.
hheeeey, admins?.. where are you?Forum: Plugins
In reply to: [Polylang] Get ID of translationsHow it is work in 1.1.2? Same?
Forum: Plugins
In reply to: [Geo Mashup] Different Markers in Global map for different categories?I founded decision.
in geo-mushup.php put:
$cat = wp_get_post_categories($object_location->object_id,array('fields' => 'slugs')); if (in_array('article',$cat)) { $cat_name = 'article'; } elseif (in_array('image',$cat)) { $cat_name = 'image'; } elseif (in_array('video',$cat)) { $cat_name = 'video'; } else $cat_name = 'other'; $augmented_object = array( 'object_name' => $object_name, 'object_id' => $object_location->object_id, // We should be able to use real UTF-8 characters in titles // Helps with the spelling-out of entities in tooltips 'title' => html_entity_decode( $object_location->label, ENT_COMPAT, 'UTF-8' ), 'lat' => $object_location->lat, 'lng' => $object_location->lng, 'author_name' => $author_name, 'terms' => $term_ids_by_taxonomy, 'cat' => $cat_name );
And in custom.js need it:
GeoMashup.addAction( 'objectIcon', function( properties, object ) { if ( object.cat == 'article' ) { object.icon.image = properties.template_url_path + '/images/article.png'; } else if ( object.cat == 'video' ) { object.icon.image = properties.template_url_path + '/images/video.png'; } else {object.icon.image = properties.template_url_path + '/images/other.png'; } object.icon.iconSize = [ 35, 47 ]; object.icon.iconAnchor = [ 18, 24 ]; object.icon.iconInfoWindowAnchor = [ 18, 47 ]; object.icon.iconShadow = properties.template_url_path + '/images/marker.shadow.png'; object.icon.iconShadowSize = [ 63, 47 ]; } );
Is it good?