Viewing 8 replies - 1 through 8 (of 8 total)
  • Go to: Where do you want to show the “More info” details?

    In the drop-down: Select in the Info Window

    Thread Starter cstudent

    (@cstudent)

    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)

    Plugin Author Tijmen Smit

    (@tijmensmit)

    Which plugin version are you using?

    Thread Starter cstudent

    (@cstudent)

    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”.

    Plugin Author Tijmen Smit

    (@tijmensmit)

    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' );
    Thread Starter cstudent

    (@cstudent)

    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.

    Plugin Author Tijmen Smit

    (@tijmensmit)

    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";
    Thread Starter cstudent

    (@cstudent)

    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?

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Opening Hours & description not showing’ is closed to new replies.