Support » Plugin: WP Store Locator » Broken links from plugin script

  • ChrisHPZ

    (@chrishpz)


    Hi Timjin, I wonder if I might make a request. The gist is the script below triggers a broken link warning by applications such as Screaming Frog. Would you consider re-writing this script? The issue in question is coming from
    <a href="<%= url %>"><%= store %></a>

    
    <script id="wpsl-listing-template" type="text/template">
    <li data-store-id="<%= id %>">
    <div class="wpsl-store-location">
    <p><%= thumb %>
    <% if ( wpslSettings.storeUrl == 1 && url ) { %>
    <strong><a href="<%= url %>"><%= store %></a></strong>
    <% } else { %>
    <strong><%= store %></strong>
    <% } %>
    <span class="wpsl-street"><%= address %></span>
    <% if ( address2 ) { %>
    <span class="wpsl-street"><%= address2 %></span>
    <% } %>
    <span><%= city %> <%= state %> <%= zip %></span>
    </p>
    
    </div>
    <div class="wpsl-direction-wrap">
    <%= createDirectionUrl() %>
    </div>
    </li>
    </script>
    

    Many thanks

    • This topic was modified 2 months ago by ChrisHPZ.

    The page I need help with: [log in to see the link]

  • You must be logged in to reply to this topic.