Egypt on maps

We're shifting our Forum based support to a more dedicated support system!

We'll be closing our Forum support from 10th June, 2020 and move to Email Support assistance.

  • If you are a WCFM premium add-ons user, contact us- here
  • Want to know more before buying our add-ons? Send Pre sale queries- here
  • If you are a WCFM free user, please open a support ticket at WordPress.org
  • For WCFM App related queries, reach us- here
From now the forum will be read-only!

Tagged: 

Viewing 5 reply threads
  • Author
    Posts
    • #50004
      vraugul1
      Participant

      Hello!

      When you open wcfm_stores
      Egypt appears on the map first.
      And only then my shops.
      The video shows
      How to fix?

      Thank you very much

    • #50005
      vraugul1
      Participant
      This reply has been marked as private.
    • #50097
      WCFM Forum
      Member

      Hi,

      What you want to set as default map location ? Share me that place lat-long, I will give a code snippet to adjust that!

      Thank You

    • #50106
      vraugul1
      Participant

      Hello!

      lat 59.9390094
      long 29.5303049

      Thank You!

    • #50112
      WCFM Forum
      Member

      Please add this to your child theme’s functions.php –

      add_filter( 'wcfmmp_map_default_lat', function( $lat ) {
        return 59.9390094;
      });
      
      add_filter( 'wcfmmp_map_default_lng', function( $lat ) {
        return 29.5303049;
      });

      Thank You

    • #50359
      vraugul1
      Participant

      Thank you very much!

Viewing 5 reply threads
  • The topic ‘Egypt on maps’ is closed to new replies.