Changing the word [listing] from the URL

Discussion in 'GeoCraft WordPress Theme' started by asdhu, Mar 4, 2013.

  1. asdhu

    asdhu Guest

    Joined:
    Jan 23, 2013
    Messages:
    11
    Likes Received:
    1
    Hi, I am creating a members directory in Spanish and want to change the URL to be in Spanish. Here is what I want to change:

    http://alacec.com/miembros/listing/dr-cupertino-castro/

    I want to know where to rename the word listing to be "perfil" or any other spanish word that might fit. Please advise.

    Thank you in advance
     
  2. aliounn

    aliounn Member

    Joined:
    Dec 7, 2012
    Messages:
    136
    Likes Received:
    6
  3. roberto

    roberto New Member

    Joined:
    Feb 25, 2013
    Messages:
    8
    Likes Received:
    2
  4. asdhu

    asdhu Guest

    Joined:
    Jan 23, 2013
    Messages:
    11
    Likes Received:
    1
    Hello anyone? I see many people have seen this post but nobody seems to know how to fix it. I did find out this theme does not allow me to change the permanent link structure as it defaults to the /post-name version no matter what I do. I ask for Technical Support or someone experienced to let me know and the two other requester how to rename this english word to a word of our liking. I have switched Wordpress installation to Spanish without success.
     
  5. Nitesh

    Nitesh Support Staff

    Joined:
    Oct 19, 2012
    Messages:
    5,165
    Likes Received:
    160
    The word listing showing in your URL is a keyword which handles all listings.
    Don't take it as a language.
    It is not possible to change or translate it.
     
  6. asdhu

    asdhu Guest

    Joined:
    Jan 23, 2013
    Messages:
    11
    Likes Received:
    1
    What do you mean Nitesh? Everything is possible in programming code! It might be difficult, risky, etc, but not imposible.
     
  7. aliounn

    aliounn Member

    Joined:
    Dec 7, 2012
    Messages:
    136
    Likes Received:
    6
    Certainly with url rewriting in the .htaccess. Nitesh please helpe us to do this
     
  8. asdhu

    asdhu Guest

    Joined:
    Jan 23, 2013
    Messages:
    11
    Likes Received:
    1
    There has to be a way. I mean Wordpress is available in many languages. Don't see why we have to stick with English words in the URL.
     
  9. mtnewsy

    mtnewsy Guest

    Joined:
    Feb 24, 2013
    Messages:
    5
    Likes Received:
    1
    I too would like the ability to change the default word "listing" to something else.
     
  10. Nitesh

    Nitesh Support Staff

    Joined:
    Oct 19, 2012
    Messages:
    5,165
    Likes Received:
    160
    Hello,

    You can change these words from listing_type_lang.php
    Go to the
    geocrafttheme\library\controls\custom_post_type \ listing_type_lang.php
    Check image for reference.

    [​IMG]

    Note: Please do let us know, If these changes create some issue in your site.
     
  11. aliounn

    aliounn Member

    Joined:
    Dec 7, 2012
    Messages:
    136
    Likes Received:
    6
    hello Nitesh
    when I translated listing as shown above, listings no longer appear on the site. And when I translated liscat , all categories disappear too.
    thanks for your help.
     
  12. asdhu

    asdhu Guest

    Joined:
    Jan 23, 2013
    Messages:
    11
    Likes Received:
    1
    It works for me now. Thanks. I will let you know if I end up with any issues.
     
  13. aliounn

    aliounn Member

    Joined:
    Dec 7, 2012
    Messages:
    136
    Likes Received:
    6
    Hi Asdhu, what version are you using ? did you only translate it ?
    thanks
     
  14. aliounn

    aliounn Member

    Joined:
    Dec 7, 2012
    Messages:
    136
    Likes Received:
    6
    Nitesh,
    when i replace 'listing' with 'xxxxxx' , the url of listings still domaine/listing/listing-title/ , not domaine/xxxxxx/listing-title/.
    In the php code are you using ' listing' or POST_TYPE ? , same for 'listcat' with CUSTOM_CAT_TYPE
    what's the name of the concerned page ?

    thank you for your support ?
     
  15. asdhu

    asdhu Guest

    Joined:
    Jan 23, 2013
    Messages:
    11
    Likes Received:
    1
    I am using the latest version of Geocraft available. Since I do not have anything up and running yet (I was waiting for the rename option), I installed the latest version. You can see it working at:
    http://alacec.com/miembros/. If you clic on my demo link you can seet it jump to http://alacec.com/miembros/perfil/cupertinocastro/. I only renamed the listing. I let the listcat name unchanged.
     
  16. aliounn

    aliounn Member

    Joined:
    Dec 7, 2012
    Messages:
    136
    Likes Received:
    6
  17. asdhu

    asdhu Guest

    Joined:
    Jan 23, 2013
    Messages:
    11
    Likes Received:
    1
    Oops...I just realized it does not show the infopage. We need to open a new ticket to ask for a fix on this issue. It is half way done. Let me know if you figure it out. I do not understand why more people don't think this is an important issue to take care of.
     
  18. Krish

    Krish Support Staff

    Joined:
    Oct 22, 2012
    Messages:
    210
    Likes Received:
    1
    Location:
    India
    We have tried and tested the whole change of url structure again with the theme, but it will create issues with the theme functioning at certain places and that's the reason we do not recommend you to change the structure.
     
  19. asdhu

    asdhu Guest

    Joined:
    Jan 23, 2013
    Messages:
    11
    Likes Received:
    1
    With all due respect because I am sure you have given it a try, my response is you should be able to make it work. You are the creators of the theme and only you know where to make the appropriate changes. It does not matter to me if I have to edit several files but to make it work. After all, this theme has many possible uses beyond its original scope and the more flexible the more we can all get out of it.
     
  20. Gourav

    Gourav Support Staff

    Joined:
    Oct 19, 2012
    Messages:
    7,728
    Likes Received:
    207
    The architecture of the theme is complex, changing the url structure will make the theme unstable to use and even if we did find the solutions and made manual changes on any one site, it will be removed in the theme updates.
     

Share This Page