Localization input for widget

Discussion in 'GeoCraft WordPress Theme' started by zweitbuch, Oct 15, 2014.

  1. zweitbuch

    zweitbuch Member

    Joined:
    Mar 18, 2014
    Messages:
    172
    Likes Received:
    1
    Dear Team,

    i want to integrate a job widget from a partner in my website, in order to target the user correctly we would like to determine the localization from where the user enters the website and show them offers from our partners accordingly, our partner wants to have the following input:
    <option value="0">keine Einschränkung</option>
    <option value="7">Wien</option>
    <option value="9">Burgenland</option>
    <option value="6">Kärnten</option>
    <option value="8">Niederösterreich</option>
    <option value="4">Oberösterreich</option>
    <option value="3">Salzburg</option>
    <option value="5">Steiermark</option>
    <option value="1">Tirol</option>
    <option value="2">Vorarlberg</option>

    how can we do that?
     
  2. Yogesh

    Yogesh Guest

    Joined:
    Aug 8, 2014
    Messages:
    2,052
    Likes Received:
    41
    Hello,

    Make many pages according to select option, when user select any value in above select code then show page according to select value.

    Thanks & Regards
    Yogesh Bhade
     
  3. zweitbuch

    zweitbuch Member

    Joined:
    Mar 18, 2014
    Messages:
    172
    Likes Received:
    1
    sorry i did not get that, could you please rephrase?​
     
  4. Pramod

    Pramod Guest

    Joined:
    Aug 8, 2014
    Messages:
    2,847
    Likes Received:
    63
    Hello !
    You have two options to achieve this type of task.

    Option-1:
    In every post or we can say in new listing you have to set a category (localization name) in which you want to keep it.
    Similarly you can set this for all listing then in this way all posts will be categorized by localization.
    After that add a widget in your side bar or footer area of category from Appearance->widgets. Set that category as drop down.
    Option-2:
    Create a page (eg.ABC) and write all localization name in list .
    Again create pages for each localization in list and copy urls of every page.Paste urls (link) in ABC page (parent of these list pages ) related list contents.

    Thanks & Regards
    Pramod
     

Share This Page