Forum Replies Created
-
AuthorPosts
-
Davor Mlinarić
ParticipantYou need to add map field. And if it's not populated you need to update map custom field with lat,lng,zoom... example:
update_post_meta($post->ID, 'map', '15.3344,22.334,14');while importing you must update map field with that data.but if you already imported a bunch of data maybe this function will help you (if you have longitude and latitude).
(use at your own risk)
https://pastebin.com/pSntYNLFcall the function: https://yourUrl.com/?save_all_posts=1
Davor Mlinarić
Participanti'm getting this error, wp is not latest version.
..pects at least 1 parameter, 0 given in /var/www/vhosts/motoreni.hr/httpdocs/wp-content/plugins/meta-box-aio/vendor/meta-box/meta-box-template/src/Parser.php on line 38November 18, 2022 at 4:58 AM in reply to: custom field WYSIWYG content not displaying with formatting #39200Davor Mlinarić
ParticipantSame here. Strange is that it was fine for first few posts, but then it stopped storing <p> tags on new posts. When i edit and resave first few posts it's ok on them, but not on new ones. wysiwyg inside cloneable group.
July 30, 2022 at 4:44 AM in reply to: ✅Image advanced field in groups are only shown in a Thumbnail size #37278Davor Mlinarić
ParticipantTemporarly solution for 'Single Image' type. A code block should be added inside repeater.
<?php global $meta_box_current_group_fields; $image_url = wp_get_attachment_image_src($meta_box_current_group_fields['your_image'], "full")[0]; ?>For other image types that allow multiple images. This code will take url of first image.
<?php global $meta_box_current_group_fields; $image_url = wp_get_attachment_image_src($meta_box_current_group_fields['your_image'][0], "full")[0]; ?> -
AuthorPosts