Support » Fixing WordPress » Change 'post' to another word in dashboard

  • Resolved applegateian

    (@applegateian)


    Hi guys

    I want to change the word ‘post’ everywhere it appears in the dashboard/admin area to be ‘project’. As far as our users are concerned they are uploading ‘projects’ not posts.

    I’ve seen this old support post but it suggests this is a translation job, I hope that there is an easier way to do this in functions.php or a plugin.

    As always, any help is much appreciated.

    thanks,

    Ian

Viewing 4 replies - 1 through 4 (of 4 total)
  • Does anyone have a workaround for this? I don’t think it would be that hard for find a function for this, I just can’t get anything working!

    Resolved if anyone wants to do something similar:

    add_filter('gettext',  'change_post_to_project');
    add_filter('ngettext',  'change_post_to_project');
    
    function change_post_to_project($translated) {
         $translated = str_ireplace('Post',  'Project',  $translated);
         return $translated;
    }

    Hopefully I’m not resurrecting a 9 month old thread for naught but this code worked great for all instances of “Post” except on the “edit.php” page. For some reason it still says “Posts” when I am viewing all “posts” that have been submitted. I’ve tried to write another function just as described above and place it directly on the “edit.php” file but that doesn’t change it either. Did you have this same issue?

    esmi

    (@esmi)

    Forum Moderator

    @mcmichael13: If you require assistance then, as per the Forum Welcome, please post your own topic.

    This topic references an old version of WordPress.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Change 'post' to another word in dashboard’ is closed to new replies.