Hulivili
Forum Replies Created
-
Forum: Plugins
In reply to: [Open User Map] Feature RequestsOnce again!
add_filter('oum_location_bubble_content', function ( $content, $location ) {
$subject = $location['name'] ;
$nav1 = $location['lat'] ;
$nav2 = $location['lng'] ;
$puskaid = $location['post_id'] ;
$content .= '<div class="oum_location_text"><a target="_blank" . urlencode($subject) . '&postid=' . urlencode($puskaid) . '">Link text...</a></div>';
return $content;
}, 10, 2);Forum: Plugins
In reply to: [Open User Map] Feature RequestsFirst and last line is outside of code box. www.ads-software.com site is not accept to hole code inside the box. I dont know why.
add_filter('oum_location_bubble_content', function ( $content, $location ) {
// extend or change content $subjec$subject = 'Ilmoita muutos kohteessa ID:' . $location['post_id'];t = . $location['post_id'].;
$subject = $location['name'] ;
$nav1 = $location['lat'] ;
$nav2 = $location['lng'] ;
$puskaid = $location['post_id'] ;
$content .= '<div class="oum_location_text"><a target="_blank" . urlencode($subject) . '&postid=' . urlencode($puskaid) . '">Link text...</a></div>';
return $content;
}, 10, 2);Forum: Plugins
In reply to: [Open User Map] Feature RequestsI have made little bit more complex solution with this snippet and Ninja Forms, user can send new details and also pictures to location. Seems to work also free version.
add_filter(‘oum_location_bubble_content’, function ( $content, $location ) {
// extend or change content $subjec$subject = 'Ilmoita muutos kohteessa ID:' . $location['post_id'];t = . $location['post_id'].; $subject = $location['name'] ; $nav1 = $location['lat'] ; $nav2 = $location['lng'] ; $puskaid = $location['post_id'] ; $content .= '<div class="oum_location_text"><a target="_blank" . urlencode($subject) . '&postid=' . urlencode($puskaid) . '"><img src="/wp-content/uploads/ikonit/virhe.svg"></a></div>'; return $content;
}, 10, 2);
Forum: Plugins
In reply to: [Open User Map] Disable deletion of markerAre you tried to edit template file partial-map-add-location.php ?
Delete or comment out row (make backup first!)
<div id="oum_delete_location_btn"><span style="color: <?php echo $oum_ui_color; ?>"><?php echo __('Delete this location', 'open-user-map'); ?></span></div>
You also do it after plugin update!
Forum: Plugins
In reply to: [Open User Map] Carousel / Multiple Pics on a single markerI am intresting also this feature!
Forum: Plugins
In reply to: [WP Super Cache] Excluding specific pages?Looking for better example for this too!
Forum: Plugins
In reply to: [Simple Calendar - Google Calendar Plugin] Array ErrorExact same problem, blugin version 3.0.8.
All works fine with first calendar, but but when I add other, I get this error in Grid view, list view works normally. First one works still normally, problem is only second calendar.
Warning: array_combine() [function.array-combine]: Both parameters should have at least 1 element in /home/customers/s2cvk/public_html/wordpress/wp-content/plugins/google-calendar-events/includes/calendars/views/default-calendar-grid.php on line 318
Warning: array_intersect_key() [function.array-intersect-key]: Argument #2 is not an array in /home/customers/s2cvk/public_html/wordpress/wp-content/plugins/google-calendar-events/includes/calendars/views/default-calendar-grid.php on line 318
Warning: Invalid argument supplied for foreach() in /home/customers/s2cvk/public_html/wordpress/wp-content/plugins/google-calendar-events/includes/calendars/views/default-calendar-grid.php on line 322