• Resolved shemakeswebsites

    (@shemakeswebsites)


    How do I change the label for the department custom field? I have tried to change the langauge files with no success, I’ve tried to hardcode a change in the functions-custom-fields.php and also using this code in my functions file:

    define('WPAS_DEPARTMENT_SLUG', 'my_dept_slug') ;

    Nothing works. I would like to change it from ‘Department’ to ‘Topic’.

    Thank you. Great plugin!

Viewing 1 replies (of 1 total)
  • Plugin Author awesomesupport

    (@awesomesupport)

    Hi:

    There’s an add-on called POWERPACK that does that for you. Among other things it allows you to change the labels used for department, priority, channel and tags.

    As it seems you’ve figured out, department is a custom field. So, if you want to write some code you can use the wpas_get_custom_fields filter to override the data in the custom fields array at the point its being used. That’s actually the method that the POWERPACK add-on uses internally.

    I hope this helps.

Viewing 1 replies (of 1 total)

The topic ‘‘Department’ translation’ is closed to new replies.