• Resolved phillip415

    (@phillip415)


    I have a live and a dev site. I’m trying to overwrite the popup window (wpsl_info_window_template function) to insert my custom variables. I did it following the documentation and it works just fine on dev, but not on live. It gives me the javascript error in console “Uncaught ReferenceError: sub_title is not defined” when clicking on a marker. I also have the error “GET https://www.mydomain.de/wp-content/themes/child-theme/wpsl-markers/ 403 (Forbidden)” on live because I’ve used custom makers, but they get loaded fine on dev and live.

    The functions.php is on both live and dev just identical.

    Any hints on that issue or in which file are the custom variables actually defined?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Tijmen Smit

    (@tijmensmit)

    Can you make sure to flush the WPSL transient cache after making any changes to the included search results data. You can do this on the WPSL settings page ( tools section ).

    If you try to access the custom image directly in your browser then they do load? If the 403 keeps showing up, then it could be that your host is blocking access to files with @ in the file names.

    Thread Starter phillip415

    (@phillip415)

    Problem is solved, I reinstalled the plugin. Unfortunately I have to add all my stores again.

    Btw it says “You don’t have permission to access /wp-content/themes/jevelin-child/wpsl-markers/ on this server.”, but the markers get loaded so I guess that’s not a problem.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘In which file are custom variables defined?’ is closed to new replies.