Go to: Where do you want to show the “More info” details?
In the drop-down: Select in the Info Window
Done that, Lucian.
Apparently it’s still not showing. The only information in the More Info boxes are Address and Phone No. (I didn’t key in email address and the rest)
Which plugin version are you using?
Hi, Tijmen Smit. I’m using the Version 2.1.1. I’ve tried some codes you posted earlier but the “descriptions” doesn’t seem to be able to appear together with the “opening hours”.
Have you tried to place this code in the functions.php in your active theme folder as well?
add_filter( 'wpsl_include_post_content', '__return_true' );
Yes, I did. I have placed
add_filter( ‘wpsl_include_post_content’, ‘__return_true’ );
and the codes here
but only operating hours are showing in the “More Info” boxes.
Add this above line 16 from the code on this page.
$info_window_template .= "\t\t\t\t" . '<% if ( description ) { %>' . "\r\n";
$info_window_template .= "\t\t\t\t" . '<%= description %>' . "\r\n";
$info_window_template .= "\t\t\t\t" . '<% } %>' . "\r\n";
Thank you, Tijmen Smit! The codes work!
By the way, is there a way I can eliminate the huge white spacing on top of “description” and “address” in the “More Info” box?