Paolo

Forum Replies Created

Viewing 15 posts - 23,071 through 23,085 (of 27,715 total)
  • Author
    Posts
  • in reply to: How can I add Facebook SDK after #35778

    Paolo
    Site Admin
    Post count: 31211

    ok, the best way to actually do this is to add the div facebook needs, via hook:

    
    
    
    add_action( 'geodir_details_main_content', 'my_custom_action',35);
    
    function my_custom_action(){ echo '<div id="fb-root"></div>'; }

    Than add the script part in GD >> design >> scripts >> footer script

    
    
    <script>(function(d, s, id) {
      var js, fjs = d.getElementsByTagName(s)[0];
      if (d.getElementById(id)) return;
      js = d.createElement(s); js.id = id;
      js.src = "//connect.facebook.net/en_GB/sdk.js#xfbml=1&appId=1378194292506778&version=v2.3";
      fjs.parentNode.insertBefore(js, fjs);
    }(document, 'script', 'facebook-jssdk'));</script>

    Let us know,

    Thx

    in reply to: Default market doesn't work on scale-able solutions #35777

    Paolo
    Site Admin
    Post count: 31211

    HI David,

    I’ve asked the development team to have a look at your feedback and let us know their thoughts.

    Thanks

    in reply to: How can I add Facebook SDK after #35775

    Paolo
    Site Admin
    Post count: 31211

    What syntax error?

    this should work.

    Maybe try a more personalized function name…

    
    
    add_action( 'geodir_details_main_content', 'my_facebook_sdk',35);
    
    function my_facebook_sdk(){echo '<div id="fb-root"></div>
    <script>(function(d, s, id) {
      var js, fjs = d.getElementsByTagName(s)[0];
      if (d.getElementById(id)) return;
      js = d.createElement(s); js.id = id;
      js.src = "//connect.facebook.net/en_GB/sdk.js#xfbml=1&appId=1378194292506778&version=v2.3";
      fjs.parentNode.insertBefore(js, fjs);
    }(document, 'script', 'facebook-jssdk'));</script>';}

    Let us know,

    thanks

    in reply to: Widgets #35771

    Paolo
    Site Admin
    Post count: 31211

    Hi,

    seems to be working to me, I just changed the 100% width, because it makes it quite ugly when sticking.

    Try clearing your browser cache.

    Thanks

    in reply to: Avoid gdf css override Google Custom Search? #35768

    Paolo
    Site Admin
    Post count: 31211

    Hi,

    that page is controlled by google. https://developers.google.com/custom-search/docs/ui#results

    Thanks

    in reply to: (bug?) Keeps defaulting local places, limited entries #35766

    Paolo
    Site Admin
    Post count: 31211

    Hi,

    I see the maps with listings from all NZ with both Chrome and Firefox.

    The reason why with one you are getting only Aukland is probably because you previously set a SESSION with location Auckland and now the website is showing only listings from that location.

    Not having the location switcher in place, you can’t move back.

    To add the location switcher you go to GD >> Design >> Navigation >> Show geodirectory navigation in selected menu locations and select a menu created in Appearance >> Menu, than go to MutiLocation and enable Show location switcher in menu.

    Otherwsie you can use the shortcode: [gd_location_tab_switcher]

    Thanks

    in reply to: How can I add Facebook SDK after #35765

    Paolo
    Site Admin
    Post count: 31211
    in reply to: Avoid gdf css override Google Custom Search? #35764

    Paolo
    Site Admin
    Post count: 31211

    Link please?

    in reply to: Jupiter Not Fully Compatible? #35763

    Paolo
    Site Admin
    Post count: 31211

    Hi,

    the slider seems to have problems in desktop view too.

    I’ve flagged this for developers to fix asap.

    Thanks

    in reply to: Setting up PayPal. Help Please?! #35762

    Paolo
    Site Admin
    Post count: 31211

    HI,

    setting up paypal is super easy, just add your paypal merchant ID which is the email address used to register/login.

    Thanks

    in reply to: Price Packages not editable (again) #35761

    Paolo
    Site Admin
    Post count: 31211

    hi,

    being the old table corrupted the old prices in there where deleted.

    You can re-add the new prices and it should no longer creates problems for you.

    Let us know,

    Thanks

    in reply to: FEATURE REQUEST: Tags on list/grid view #35760

    Paolo
    Site Admin
    Post count: 31211

    In that case the code above added to your active theme functions.php will do it.

    Thanks!

    in reply to: Page not showing correctly #35759

    Paolo
    Site Admin
    Post count: 31211

    hi,

    please check now and let us know.

    Thanks

    in reply to: FEATURE REQUEST: Tags on list/grid view #35757

    Paolo
    Site Admin
    Post count: 31211

    Hi Jakes,

    there is a hook that let’s you add any custom content after any listings in both listings page and widgets because they sahe the same function, so it would show in both lists (main content area and sidebar).

    That is geodir_after_listing_post_excerpt.

    It is very easy to add the tags names with a function like this:

    
    
    
    add_action('geodir_after_listing_post_excerpt' ,'geodir_my_new_listings_content');
    function geodir_my_new_listings_content($tab_index) {
    if (geodir_is_page('listing')) {
      $post_details = geodir_get_post_info($entry['ID']);
    			echo $post_details->post_tags;
    }
    }

    However adding the tags links as i believe you want, it much more complicated, because locations has to be taken into consideration to create the URLs, depending on which page the link is actually displayed.

    In that case the function would be 20 times longer and I’ve tested for 10 minutes before giving up… Stiofan would be required to create something like that.

    I’l lask him if he can have a look and provide a quick function to workaround this, but I can’t promise anything.

    Thanks

    in reply to: Map disappeared #35753

    Paolo
    Site Admin
    Post count: 31211

    info [at] wpgeodirectory.com

Viewing 15 posts - 23,071 through 23,085 (of 27,715 total)
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount