Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Paolo

    (@paoltaia)

    hi,

    with the free plugin you can only submit listings in one city.

    To extend the directory to more than one city you will need the Location Manager add-on.

    https://wpgeodirectory.com/downloads/location-manager/

    Thank you

    I resolved with this:

    function dg_change_address($html, $variables_array) {
      $html = '<span class="geodir-i-location" style=""><i class="fa fa-home"></i>Address: </span><span itemprop="streetAddress"> '.$variables_array['value'].'</span>';
      return $html;
    }
    
    add_filter( 'geodir_show_post_address', 'dg_change_address', 9999, 3 );

    Ciao Daniele, dove hai inserito queste righe di codice? Io ho provato nel file function.php del tema directory starter, ma il campo address quando visualizzo la pagina “place” rimane vuoto.
    Grazie ??

    in the functions.php file ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Change location ID in places’ is closed to new replies.