Bubble content
-
Hi, awhile back I had asked how to include the date in the bubble content and this is the instruction I had, that worked perfectly. I’ve just installed a new version of the map and this is triggering a fatal error.
You can include the date manually in the point’s description, but if you want include it dynamically, follow the steps below:
1. Open the functions.php file, located in “/wp-content/plugins/codepeople-post-map/include/functions.php”, with the text editor your choice.
2. Go to the snippet of code:
$point_address = $point[‘address’];
and paste the following line of code just below it:
$point_address = get_the_time(‘l, F j, Y’, $point[‘post_id’]).’
‘.$point_address;and that’s all.
Best regards.I don’t know code so has this changed now?
thanks!
- The topic ‘Bubble content’ is closed to new replies.