Results 1 to 3 of 3

Thread: Translate the /add-new/ URL

  1. #1
    Thread Starter
    Junior Member
    Not a Verified Customer
    Miguel's Avatar
    Join Date
    Mar 2009
    Location
    Hermosillo
    Posts
    30
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Smile Translate the /add-new/ URL

    Hello,

    I would be nice if we can be able to edit the URL /add-new/ in our own language using the Classipress settings panel.

    But for now, how can I edit the URL without breaking the whole theme functionality?

  2. #2
    Thread Starter
    Junior Member
    Not a Verified Customer
    Miguel's Avatar
    Join Date
    Mar 2009
    Location
    Hermosillo
    Posts
    30
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Lightbulb Re: Translate the /add-new/ URL

    Well, I just did it.

    1. Edit the classipress/includes/theme-functions.php line 29 /add-new/ change it to your desire language.
    2. Go to your admin panel, Pages-Edit and edit the page name "Add New" and the slug (URL name) to your desire language.

    You will see in theme-funcitons.php other URLs that you edit to your own language, just repeat the steps 1 and 2.

  3. #3
    Founder dcowgill's Avatar
    Join Date
    Mar 2009
    Location
    San Francisco, CA
    Posts
    1,939
    Thanks
    66
    Thanked 135 Times in 99 Posts

    Re: Translate the /add-new/ URL

    You just answered your own question. I love it.

    Yes, I built it so you can easily change the page urls and you figured it out. Nice work.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Translate to Portuguese (pr-BR)?
    By msfernandes in forum ClassiPress General Discussion
    Replies: 31
    Last Post: October 1st, 2012, 07:19 PM