Topic: How can I translate the property permalink? | codeex.

  • Hello

    I’m translating the theme for the Portuguese (Brazil) and would like some help to modify the ‘permalink’ generated in property.

    example:

    Default theme: http://www.test.com/property-item/some-name

    What I Need: http://www.test.com/imovel/some

    Actually I need to change the label ‘property-item’ that is automatically generated.

    I made a test, modifying the file ‘includes / posts / post-properties.php’. I modified the line 27:

    'rewrite' => array ('slug' => 'property-item', 'with_front' => TRUE),

    to

    'rewrite' => array ('slug' => 'imovel', 'with_front' => TRUE),

    But after this change, whenever I try to see this property, ERROR 404 appears.

    Anyway, can you help me?

    ps: sorry for my bad english

    Sorry, this forum is for verified users only. Please Login or Register to continue

Posted in Themes |