• Resolved cutu234

    (@cutu234)


    Sorry to bother you again, but I couldn’t find an answer. I would like to remove the “directions” link. I could use CSS but would prefer a cleaner solution. Did I miss anything in the settings?

    Thank you.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Don’t worry, we’re here to help!

    The easiest way to hide the directions link is to remove it from the search results template via the wpsl_listing_template filter. You have to use that filter in your active theme’s functions.php file and remove or comment the line that makes reference to the directions link:

    $listing_template .= "\t\t\t" . '<%= createDirectionUrl() %>' . "\r\n";

    I hope that helps.
    Regards,

    Thread Starter cutu234

    (@cutu234)

    Great, thank you. Perfect! Awesome support. I mean it! ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.